Module http

Module http 

Source
Expand description

A module for executing HTTP requests.

Structs§

BatchHttpRequest
A structure representing a batch of HTTP requests.
HeaderName
Represents an HTTP header field name
HeaderValue
Represents an HTTP header field value.
HttpRequest
A struct that represents an HTTP request.
HttpRequestBuilder
A builder for constructing an HttpRequest.
HttpResponse
A struct that represents an HTTP response.
JsonDeserializeError
This type represents all possible errors that can occur when serializing or deserializing JSON data.
Method
The Request Method (VERB)
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
Url
A parsed URL record.

Enums§

HttpError
HTTP error

Functions§

execute
Executes a single HTTP request and returns a result containing either an HttpResponse or an HttpError.
execute_many
Executes multiple HTTP requests in a batch and returns their results.