[][src]Module kayrx::http

HTTP Primitives.

Re-exports

pub use self::error::Error;
pub use self::error::ResponseError;
pub use self::error::Result;
pub use self::httpmessage::HttpMessage;
pub use crate::http::cookie::Cookie;
pub use crate::http::header::ContentEncoding;

Modules

body
client

Http client api

cookie

https://github.com/alexcrichton/cookie-rs fork

encoding

Content-Encoding support

error

Error and Result module

h1

HTTP/1 implementation

h2

An asynchronous, HTTP/2.0 server and client implementation.

header

Various http headers

httpmessage
test

Test Various helpers for Actix applications to use during testing.

uri

URI component of request and response lines

ws

WebSocket protocol support.

Structs

CookieBuilder

Structure that follows the builder pattern for building Cookie structs.

Extensions

A type map of request extensions.

HeaderMap

A set of HTTP headers

HeaderName

Various HTTP related types Represents an HTTP header field name

HeaderValue

Various HTTP related types Represents an HTTP header field value.

HttpError

A generic "error" for HTTP connections

HttpService

ServiceFactory HTTP1.1/HTTP2 transport implementation

HttpServiceBuilder

A http service builder

Message
Method

The Request Method (VERB)

PathAndQuery

Represents the path component of a URI

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

Type Definitions

PayloadStream

Type represent boxed payload