Expand description
Hyper service that adds a context to an incoming request and passes it on to a wrapped service.
Structsยง
- AddContext
Make Service - Middleware wrapper service, that should be used as the outermost layer in a
stack of hyper services. Adds a context to a plain
hyper::Requestthat can be used by subsequent layers in the stack. - AddContext
Service - Middleware wrapper service, that should be used as the outermost layer in a
stack of hyper services. Adds a context to a plain
hyper::Requestthat can be used by subsequent layers in the stack. TheAddContextServicestruct should not usually be used directly - when constructing a hyper stack useAddContextMakeService, which will createAddContextServiceinstances as needed.