[][src]Module ntex::http

Http protocol support.

Re-exports

pub use self::client::Client;
pub use self::error::ResponseError;

Modules

body
client

HTTP Client

encoding

Content-Encoding support

error

Http related errors

h1

HTTP/1 implementation

h2

HTTP/2 implementation

header

Various http headers

test

Test helpers to use during testing.

uri

URI component of request and response lines

ws

Websockets protocol helpers

Structs

DateService
HeaderMap

A set of HTTP headers

HttpService

ServiceFactory HTTP1.1/HTTP2 transport implementation

HttpServiceBuilder

A http service builder

Method

The Request Method (VERB)

Request

Request

RequestHead
Response

An HTTP Response

ResponseBuilder

An HTTP response builder

ResponseHead
ServiceConfig

Http service configuration

StatusCode

An HTTP status code (status-code in RFC 7230 et al.).

Uri

The URI component of a request.

Version

Represents a version of the HTTP spec.

Enums

ConnectionType

Represents various types of connection

KeepAlive

Server keep-alive setting

Payload

Type represent streaming payload

Protocol

Http protocol

RequestHeadType

Traits

HttpMessage

Trait that implements general purpose operations on http messages

Type Definitions

PayloadStream

Type represent boxed payload