Module swagger::drop_context
source · Expand description
Hyper service that drops a context to an incoming request and passes it on to a wrapped service.
Structs
- Middleware wrapper service that drops the context from the incoming request and passes the plain
hyper::Request
to the wrapped service. - Swagger Middleware that wraps a
hyper::service::Service
and drops any contextual information on the request. Servers will normally want to useDropContextMakeService
, which will create aDropContextService
to handle each connection, while clients can simply wrap ahyper::Client
in the middleware.