[go: up one dir, main page]

Crate ureq_proto

Crate ureq_proto 

Source
Expand description

Supporting crate for ureq.

This crate contains types used to implement ureq.

§In scope:

  • First class HTTP/1.1 protocol implementation
  • Indication of connection states (such as when a connection must be closed)
  • transfer-encoding: chunked
  • 100-continue handling

§Out of scope:

  • Opening/closing sockets
  • TLS (https)
  • Request routing
  • Body data transformations (charset, compression etc)

§The http crate

Based on the http crate - a unified HTTP API for Rust.

Re-exports§

pub use http;

Modules§

client
HTTP/1.1 client protocol
parser
Low level HTTP parser
server
HTTP/1.1 server protocol

Enums§

BodyMode
Kind of body
CloseReason
Reasons for closing an HTTP connection.
Error
Error type for ureq-proto