Class ValidatorProducer

Assembly: redb.Route.dll

Producer that triggers validation when the route sends to this endpoint.

public sealed class ValidatorProducer : IProducer, IProcessor

Inheritance

Object→ValidatorProducer

Implements

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

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

Start(CancellationToken)

Starts the producer.

public Task Start(CancellationToken ct = default)

Stop(CancellationToken)

Stops the producer.

public Task Stop(CancellationToken ct = default)