Skip to main content

Module http

Module http 

Source

Structs§

BytesBody
A body already in memory, handed out in CHUNK_LEN-sized pieces.
HttpControl
Cancellation and progress shared with an in-flight request.
HttpProgress
How much of a transfer has arrived.
HttpRequest
One request.
HttpResponse
What a server answered, with its body still to be read.
StubHttpClient
An HTTP client that answers from a function rather than a network.

Enums§

HttpError
HttpMethod
The verbs a request can use.

Traits§

HttpBody
A response body, read a chunk at a time.
HttpClient
A platform’s HTTP.

Functions§

default_http_client
http_body_ref
Wraps body in an HttpBodyRef.
local_http_client
map_ordered_concurrent

Type Aliases§

HttpBodyRef
Shared handle to a response body.
HttpClientRef
HttpFuture
ProgressHandler
What a progress report is handed to.
StubAnswer
What a StubHttpClient answers a request with.