Module tower_web::util::http[][src]

HTTP service, middleware, and future utilities

This module provides specialized versions of the various tower traits that are easier to work with in the context of HTTP requests and responses.

These traits can be used as aliases of sorts. Ideally, Rust will add trait alias support in the language and these traits can go away.

These types will (probably) be moved into tower-http.

Structs

LiftFuture

Contains an HttpFuture providing an implementation of Future.

LiftService

Contains an HttpService providing an implementation of Service.

Traits

HttpFuture

HTTP response future trait

HttpMiddleware

HTTP middleware trait

HttpService

An HTTP service

NewHttpService

Creates HttpService values.