Expand description
A module for executing HTTP requests.
Structs§
- Batch
Http Request - A structure representing a batch of HTTP requests.
- Header
Name - Represents an HTTP header field name
- Header
Value - Represents an HTTP header field value.
- Http
Request - A struct that represents an HTTP request.
- Http
Request Builder - A builder for constructing an
HttpRequest. - Http
Response - A struct that represents an HTTP response.
- Json
Deserialize Error - This type represents all possible errors that can occur when serializing or deserializing JSON data.
- Method
- The Request Method (VERB)
- Status
Code - An HTTP status code (
status-codein RFC 9110 et al.). - Url
- A parsed URL record.
Enums§
- Http
Error - An HTTP error.
- Http
Method - The HTTP method.
- Http
Version - The HTTP version.
Functions§
- execute
- Executes a single HTTP request and returns a result containing either an
HttpResponseor anHttpError. - execute_
many - Executes multiple HTTP requests in a batch and returns their results.