Skip to main content

Module http

Module http 

Source
Expand description

The HTTP seam and the production backend.

Structs§

HttpRequest
One request, already fully addressed: absolute URL, every header, whole body.
HttpResponse
One response, body already collected.
ReqwestBackend
The production backend: one pooled reqwest client.

Traits§

ChunkSource
A body arriving in pieces.
HttpBackend
The seam. Production and simulated transports implement this.

Type Aliases§

OpenStream
A streaming response: the head, and the body still to arrive.
SharedBackend
A backend behind an Arc, which is what a crate::session::Session holds.