Skip to main content

Module request

Module request 

Source

Structs§

ParsedRequest
The result of parsing an HTTP/1.1 request line + headers. The body reader is attached but not yet consumed.

Constants§

DEFAULT_MAX_HEADER_BYTES
Default maximum total header bytes, matching Go’s DefaultMaxHeaderBytes.

Functions§

read_request
Parse an HTTP/1.1 request from r.