[][src]Crate http_service

Types and traits giving an interface between low-level http server implementations and services that use them. The interface is based on the std::futures API.

Structs

OkFuture

A future which resolves to Ok(()).

Traits

HttpService

An async HTTP service

Type Definitions

Body

The raw body of an http request or response.

Error

An HTTP compatible error type.

Request

An HTTP request with a streaming body.

Response

An HTTP response with a streaming body.