Class ControllerDispatcherProcessor

Assembly: redb.Route.Controllers.dll

IProcessor that dispatches exchanges to actions.
Reads route.path and route.method from exchange headers, matches against ,
resolves parameters, invokes the action, and writes the result to exchange.Out.

public sealed class ControllerDispatcherProcessor : IProcessor

Inheritance

Object→ControllerDispatcherProcessor

Implements

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public Task Process(IExchange exchange, CancellationToken ct = default)

Constructors