Skip to main content

Module response

Module response 

Source
Expand description

HTTP response wrapper with buffered body.

Responses are fully buffered in memory. Prefer Response::into_json and Response::into_text on hot paths; async methods are aliases without extra I/O.

Structs§

Response
HTTP response wrapper.