Crate actix_http[][src]

HTTP primitives for the Actix ecosystem.

Re-exports

pub use cookie;
pub use self::error::Error;
pub use self::error::ResponseError;
pub use self::error::Result;
pub use self::httpmessage::HttpMessage;

Modules

body
client

Http client api

encoding

Content-Encoding support

error

Error and Result module

h1

HTTP/1 implementation

h2

HTTP/2 implementation.

http

Various HTTP related types.

httpmessage
test

Various testing helpers for use in internal and app tests.

ws

WebSocket protocol support.

Macros

downcast
downcast_get_type_id
header

Structs

Extensions

A type map for request extensions.

HttpService

A ServiceFactory for HTTP/1.1 or HTTP/2 protocol.

HttpServiceBuilder

A HTTP service builder

Message
Request

Request

RequestHead
Response

An HTTP Response

ResponseBuilder

An HTTP response builder

ResponseHead
ServiceConfig

Http service configuration

Enums

KeepAlive

Server keep-alive setting

Payload

Type represent streaming payload

Protocol

A major HTTP protocol version.

RequestHeadType

Type Definitions

PayloadStream

Type represent boxed payload