Module apollo_router::layers

source ·
Expand description

Reusable layers Layers that are specific to one plugin should not be placed in this module.

Modules

Asynchronous Checkpoint
Instrumentation layer that allows services to be wrapped in a span.
Extension of map_future layer. Allows mapping of the first graphql response. Useful when working with a stream of responses.
Extension of map_future layer. Allows mapping of the future using information obtained from the request.
Synchronous Checkpoint.

Traits

Extension to the ServiceBuilder trait to make it easy to add router specific capabilities (e.g.: checkpoints) to a Service.
Extension trait for Service.