Re-exports§
pub use self::request::HttpRequest;pub use self::response::HttpResponse;
Modules§
- body
- header
- HTTP header types
- method
- The HTTP request method
- request
- response
- status
- HTTP status codes
- uri
- URI component of request and response lines
- version
- HTTP version
Structs§
- Error
- A generic “error” for HTTP connections
- Extensions
- A type map of protocol extensions.
- Header
Map - A set of HTTP headers
- Header
Name - Represents an HTTP header field name
- Header
Value - Represents an HTTP header field value.
- Http
Context - Method
- The Request Method (VERB)
- Request
- Represents an HTTP request.
- Response
- Represents an HTTP response
- Status
Code - An HTTP status code (
status-codein RFC 7230 et al.). - Uri
- The URI component of a request.
- Version
- Represents a version of the HTTP spec.
Traits§
Type Aliases§
- Result
- A
Resulttypedef to use with thehttp::Errortype