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

httpContext HttpContext

The HTTP context.

correlationIdAccessor ICorrelationIdAccessor

The accessor for the correlation ID.

options CorrelationIdOptions

The options for the correlation ID.