Skip to main content

Module rfc9110

Module rfc9110 

Source
Expand description

HTTP semantics (RFC 9110).

Version-agnostic types shared by every HTTP wire-format module: methods, status codes, header field semantics, and the abstract request/response message structure that HTTP/1.0, HTTP/1.1, HTTP/2, and HTTP/3 all implement.

Modules§

chars
Wire-format character constants used by HTTP message parsers.
headers
Common HTTP header name constants (RFC 9110 §5), lowercase.
request
HTTP request type (RFC 9110 §9).
response
HTTP response type (RFC 9110 §15).
send
Shared output and yield types for HTTP request-response coroutines.
status
HTTP status code (RFC 9110 §15).