Expand description
Core HTTP types shared across request and response handling.
Implements strongly typed representations of methods, status codes, and protocol versions in line with RFC 9110.
Structs§
- Status
Code - Status codes (RFC 9110 Section 15).
Enums§
- Http
Version - HTTP protocol version representation (RFC 9112 Section 2.3).
- Method
- HTTP method token (RFC 9110 Section 9).
- Method
Error - Errors that can occur while parsing methods.
- Status
Code Error - Errors that occur when constructing status codes.
- Version
Error - Errors while parsing HTTP versions.