Class EndpointHeaderFilter

Namespace: redb.Route.Core
Assembly: redb.Route.dll

The header filter strategy of one endpoint: the one its headerFilterStrategy=#name option names, resolved from
the context registry once (by whichever producer or consumer of the endpoint is built first, on whatever thread),
or the transport's default. A transport keeps one per endpoint.

public sealed class EndpointHeaderFilter

Inheritance

Object→EndpointHeaderFilter

Properties

Configured

The strategy the endpoint names, or null when it names none: for a component with no default strategy

public IHeaderFilterStrategy? Configured { get; }

Methods

Or(IHeaderFilterStrategy)

The strategy the endpoint names, or transportDefault when it names none. A name the registry

public IHeaderFilterStrategy Or(IHeaderFilterStrategy transportDefault)

Constructors

EndpointHeaderFilter(IEndpoint, string?)

Creates the filter of endpoint from its option value.