Class GrpcControllerDispatcher
Dispatches gRPC requests to controller methods by method name.
The method name is read from dispatch-method header (a regular header
that flows through gRPC metadata without being filtered by producer/consumer).
Body is treated as JSON — single value or array of positional arguments.
Usage: the client (or middleware) sets exchange.In.Headers["dispatch-method"] = "MethodName"
before sending via . Qualified names like
"Controller.Method" are supported for multi-controller dispatch.
public sealed class GrpcControllerDispatcher : IProcessor
Inheritance
Implements
Methods
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)