[go: up one dir, main page]

Module http

Source
Expand description

Types and functions for building HTTP clients.

Modules§

headers
HTTP headers.
policies
HTTP pipeline policies.
poller
Types and methods for Long-Running Operations (LROs).
request
HTTP requests.
response
HTTP responses.

Structs§

ClientMethodOptions
Method options allow customization of client method calls.
ClientOptions
Client options allow customization of general client policies, retry options, and more.
Context
Pipeline execution context.
Etag
Represents an ETag for versioned resources.
ExponentialRetryOptions
Options for how an exponential retry strategy should behave.
FixedRetryOptions
Options for how a fixed retry strategy should behave.
Pager
Represents a paginated result across multiple requests.
Pipeline
Execution pipeline.
Request
A pipeline request.
RequestContent
The body content of a service client request. This allows callers to pass a model to serialize or raw content to client methods.
Response
An HTTP response.
RetryOptions
Specify how retries should behave.
TelemetryOptions
Telemetry options.
TransportOptions
Transport options.
Url
A parsed URL record.

Enums§

Body
An HTTP Body.
LeaseAction
The lease action to perform on an Azure resource.
LeaseDuration
Lease duration of an Azure resource.
LeaseState
State of a lease of an Azure resource.
LeaseStatus
Lease status of an Azure resource.
Method
HTTP request methods.
PagerResult
The result of fetching a single page from a Pager, whether the Pager should continue or is complete.
StatusCode
HTTP response status codes.

Traits§

AppendToUrlQuery
Add a new query pair into the target Url’s query string.
HttpClient
An HTTP client which can send requests.
Model
Trait that represents types that can be deserialized from an HTTP response body.

Functions§

new_http_client
Create a new HttpClient.