Docs.rs
  • actix-http-3.0.0-beta.13
    • actix-http 3.0.0-beta.13
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • fafhrd91
    • github:actix:core
    • Dependencies
      • actix-codec ^0.4.1 normal
      • actix-rt ^2.2 normal
      • actix-service ^2.0.0 normal
      • actix-tls ^3.0.0-beta.9 normal
      • actix-utils ^3.0.0 normal
      • ahash ^0.7 normal
      • base64 ^0.13 normal
      • bitflags ^1.2 normal
      • brotli2 ^0.3.2 normal
      • bytes ^1 normal
      • bytestring ^1 normal
      • derive_more ^0.99.5 normal
      • encoding_rs ^0.8 normal
      • flate2 ^1.0.13 normal
      • futures-core ^0.3.7 normal
      • futures-util ^0.3.7 normal
      • h2 ^0.3.1 normal
      • http ^0.2.5 normal
      • httparse ^1.5.1 normal
      • httpdate ^1.0.1 normal
      • itoa ^0.4 normal
      • language-tags ^0.3 normal
      • local-channel ^0.1 normal
      • log ^0.4 normal
      • mime ^0.3 normal
      • percent-encoding ^2.1 normal
      • pin-project ^1.0.0 normal
      • pin-project-lite ^0.2 normal
      • rand ^0.8 normal
      • sha-1 ^0.9 normal
      • smallvec ^1.6.1 normal
      • zstd ^0.9 normal
    • Versions
    • 80.75% of the crate is documented
  • Go to latest stable release
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
☰
logo

Crate actix_http

Version 3.0.0-beta.13

See all actix_http's items

  • Modules
  • Structs
  • Enums
  • Traits
  • Type Definitions

Modules

  • body
  • encoding
  • error
  • h1
  • h2
  • header
  • http
  • test
  • uri
  • ws

Structs

  • Extensions
  • HttpService
  • HttpServiceBuilder
  • Message
  • Method
  • Request
  • RequestHead
  • Response
  • ResponseBuilder
  • ResponseHead
  • ServiceConfig
  • StatusCode
  • Uri
  • Version

Enums

  • ConnectionType
  • ContentEncoding
  • KeepAlive
  • Payload
  • Protocol
  • RequestHeadType

Traits

  • HttpMessage

Type Definitions

  • PayloadStream
Change settings

Crate actix_http[−][src]

Expand description

HTTP primitives for the Actix ecosystem.

Crate Features

FeatureFunctionality
opensslTLS support via OpenSSL.
rustlsTLS support via rustls.
compress-brotliPayload compression support: Brotli.
compress-gzipPayload compression support: Deflate, Gzip.
compress-zstdPayload compression support: Zstd.
trust-dnsUse trust-dns as the client DNS resolver.

Re-exports

pub use self::error::Error;

Modules

body

Traits and structures to aid consuming and writing HTTP payloads.

encoding

Content-Encoding support.

error

Error and Result module

h1

HTTP/1 protocol implementation.

h2

HTTP/2 protocol.

header

Pre-defined HeaderNames, traits for parsing and conversion, and other header utility methods.

http

Various HTTP related types.

test

Various testing helpers for use in internal and app tests.

uri

URI component of request and response lines

ws

WebSocket protocol implementation.

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
Method

The Request Method (VERB)

Request

An HTTP 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

ContentEncoding

Represents a supported content encoding.

KeepAlive

Server keep-alive setting

Payload

Type represent streaming payload

Protocol

A major HTTP protocol version.

RequestHeadType

Traits

HttpMessage

Trait that implements general purpose operations on HTTP messages.

Type Definitions

PayloadStream

Type represent boxed payload

Results for PayloadError

actix_http::error::PayloadError
A set of errors that can occur during payload parsing.
actix_http::error::Error::from
actix_http::h1::Payload::readany
actix_http::h1::Payload::poll_next