Skip to main content

Module request

Module request 

Source
Expand description

HTTP/1.x request parsing (borrowed, zero-copy view).

HttpRequest borrows directly from the original buffer; no heap allocation is required for the metadata fields. Header values are stored as (&str, &str) slice pairs pointing into the original buffer.

Structsยง

HttpRequest
A parsed HTTP/1.x request.