Class CorrelationIdHelpers
- Namespace
- Cratis.Arc.Execution
- Assembly
- Cratis.Arc.dll
Provides helper methods for handling correlation IDs.
public static class CorrelationIdHelpers
- Inheritance
-
CorrelationIdHelpers
- Inherited Members
Methods
HandleCorrelationId(HttpContext, ICorrelationIdAccessor, CorrelationIdOptions)
Handles setting the correlation ID for the given HTTP context.
public static void HandleCorrelationId(this HttpContext httpContext, ICorrelationIdAccessor correlationIdAccessor, CorrelationIdOptions options)
Parameters
httpContextHttpContextThe HTTP context.
correlationIdAccessorICorrelationIdAccessorThe accessor for the correlation ID.
optionsCorrelationIdOptionsThe options for the correlation ID.