PipelineBehavior<TResponse, TRequest> class abstract interface

Pipeline behavior to surround the inner handler. Implementations add additional behavior and await the next delegate.

Constructors

PipelineBehavior.factory(PipelineBehaviorFactory<TResponse, TRequest> factory)
Factory based PipelineBehavior.
const
factory
PipelineBehavior.function(PipelineHandler<TResponse, TRequest> handler)
Function based PipelineBehavior.
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handle(TRequest request, RequestHandlerDelegate<TResponse> next) FutureOr<TResponse>
Pipeline handler for request.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited