Skip to main content

Module http_client

Module http_client 

Source
Expand description

An HTTP client.

Structs§

HttpRequest
An HTTP request.
HttpRequestBuilder
A builder for an HttpRequest.
HttpResponse
An HTTP response.
HttpResponseStream
An HTTP response stream.

Enums§

HttpMethod
HTTP methods.
RedirectPolicy
The policy for dealing with redirects received from the server.

Functions§

fetch
Performs an HTTP request and returns the response.
fetch_stream
Performs an HTTP request and returns a response stream.