Expand description
HTTP parsing, connection handling, client and server.
Modules§
Structs§
- Body
Reader - Reader for a message body.
- Body
Writer - Writer for a message body.
- Message
Reader - HTTP request and response reader.
- Message
Writer - HTTP request and response writer.
- Request
Header - Represents the complete HTTP request header.
- Request
Line - Represents a start line for a request.
- Response
Header - Represents the complete HTTP response header.
- Status
Line - Represents a start line for a response.
Enums§
- Chunked
Encoding Option - Specifies the use of chunked transfer coding.
- Compression
Option - Specifies what compression method to use.
- HTTP
Error - Errors during HTTP parsing, formatting, or processing protocol state.
- Request
Target - Represents the types of RFC7230 request-target.
- Zero
Nine Option - Specifies the use of HTTP/0.9 responses.
Constants§
- DEFAULT_
VERSION - Default HTTP version.
Functions§
- url_
to_ request_ target - Returns a request target for the given URL.
Type Aliases§
- Version
- HTTP version in major decimal minor format.