Namespace Quilt4Net.Toolkit.Framework
Classes
- CorrelationConstants
Shared correlation-id constants used by both the inbound server middleware (
Quilt4Net.Toolkit.Api.Framework.CorrelationIdMiddleware) and the outbound Toolkit HTTP clients, so the header name and the HttpContext item key never drift apart.
- CorrelationIdHandler
A DelegatingHandler that forwards the ambient correlation id on outbound HTTP calls. Attach it to any HttpClient (via
IHttpClientBuilder.AddQuilt4NetCorrelationId()) whose target should receive the sameX-Correlation-IDas the current request — letting one id span the consuming app, the services it calls, and Quilt4Net.Server.
- WhoAmIResponse
Response from the WhoAmI endpoint containing team info and API key capabilities.
Interfaces
- ICorrelationIdAccessor
Resolves the correlation id of the current ambient context, used by the Toolkit's outbound HTTP clients to forward it to Quilt4Net.Server so one id spans the whole call chain.
- IFeatureToggleService
Minimal feature-toggle accessor: resolves a boolean flag from Quilt4Net remote configuration.