CorrelationIdentifierMiddleware Constructor
Definition
- Namespace
- Cuemon.AspNetCore.Http.Headers
- Assemblies
- Cuemon.AspNetCore.dll
CorrelationIdentifierMiddleware(RequestDelegate, IOptions<CorrelationIdentifierOptions>)
Initializes a new instance of the CorrelationIdentifierMiddleware class.
public CorrelationIdentifierMiddleware(RequestDelegate next, IOptions<CorrelationIdentifierOptions> setup)
Parameters
nextRequestDelegateThe delegate of the request pipeline to invoke.
setupIOptions<CorrelationIdentifierOptions>The CorrelationIdentifierOptions which need to be configured.
CorrelationIdentifierMiddleware(RequestDelegate, Action<CorrelationIdentifierOptions>)
Initializes a new instance of the CorrelationIdentifierMiddleware class.
public CorrelationIdentifierMiddleware(RequestDelegate next, Action<CorrelationIdentifierOptions> setup)
Parameters
nextRequestDelegateThe delegate of the request pipeline to invoke.
setupAction<CorrelationIdentifierOptions>The CorrelationIdentifierOptions which need to be configured.