Re-exports§
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
- 请求和响应的扩展组件。
- Header
Map - A set of HTTP headers
- Header
Name - Represents an HTTP header field name
- Header
Value - Represents an HTTP header field value.
- Method
- The Request Method (VERB)
- Status
Code - 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.
Type Aliases§
- Result
- A
Result
typedef to use with thehttp::Error
type