Module drop_context

Source
Expand description

Hyper service that adds a context to an incoming request and passes it on to a wrapped service.

Structsยง

DropContextMakeService
Middleware wrapper service that drops the context from the incoming request and passes the plain hyper::Request to the wrapped service.
DropContextService
Swagger Middleware that wraps a hyper::service::Service, and drops any contextual information on the request. Services will normally want to use DropContextMakeService, which will create a DropContextService to handle each connection.