[][src]Module swagger::drop_context

Hyper service that drops 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 or a swagger::client::Service, and drops any contextual information on the request. Servers will normally want to use DropContextMakeService, which will create a DropContextService to handle each connection, while clients can simply wrap a hyper::Client in the middleware.