Class RequestIdentifierOptions
Configuration options for RequestIdentifierMiddleware.
Inheritance
System.Object
RequestIdentifierOptions
Namespace: Cuemon.AspNetCore.Http.Headers
Assembly: Cuemon.AspNetCore.dll
Syntax
public class RequestIdentifierOptions
Constructors
| Improve this DocRequestIdentifierOptions()
Initializes a new instance of the RequestIdentifierOptions class.
Declaration
public RequestIdentifierOptions()
Remarks
The following table shows the initial property values for an instance of RequestIdentifierOptions.
Property | Initial Value |
---|---|
HeaderName | X-Request-ID |
RequestProvider | DynamicRequest.Create(Guid.NewGuid().ToString("N") |
Properties
| Improve this DocHeaderName
Gets or sets the name of the correlation identifier HTTP header.
Declaration
public string HeaderName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the correlation identifier HTTP header. |
RequestProvider
Gets or sets the function delegate that provides the correlation implementation.
Declaration
public Func<IRequest> RequestProvider { get; set; }
Property Value
Type | Description |
---|---|
System.Func<IRequest> | The function delegate that provides the correlation implementation. |