Expand description
http types
Modules
- Some often used header name.
- Some often used header value.
- HTTP header types
- The HTTP request method
- HTTP request types.
- HTTP response types.
- HTTP status codes
- URI component of request and response lines
- HTTP version
Structs
- A generic “error” for HTTP connections
- A type map of protocol extensions.
- A set of HTTP headers
- Represents an HTTP header field name
- Represents an HTTP header field value.
- The Request Method (VERB)
- Represents an HTTP request.
- typed http extension
- Represents an HTTP response
- An HTTP status code (
status-codein RFC 7230 et al.). - The URI component of a request.
- Represents a version of the HTTP spec.
Traits
- trait for Borrow &T from &Self. used for foreign types (from xitca-http pov) that can be impl with Borrow trait.
- trait for Borrow &mut T from &mut Self. used for foreign types (from xitca-http pov) that can be impl with BorrowMut trait.
- Helper trait for convert a Request to Response. This is for re-use request’s heap allocation and pass down the context data inside Extensions
Type Aliases
- A
Resulttypedef to use with thehttp::Errortype - type alias for default request type xitca-web uses.
- type alias for default response type xitca-web uses.