Skip to main content

Module response

Module response 

Source
Expand description

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

HttpResponse 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ยง

HttpResponse
A parsed HTTP/1.x response.