Skip to main content

Module response

Module response 

Source
Expand description

HTTP response wrapper with a fully buffered body.

For incremental reads, use RequestBuilder::send_stream and the streaming module. Prefer Response::into_json and Response::into_text on hot paths; async methods are aliases without extra I/O.

Structs§

Response
HTTP response wrapper.

Enums§

ResponseBodyKind
Parsed response body selected from Content-Type.