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§
- Client
Method Options - Method options allow customization of client method calls.
- Client
Options - Client options allow customization of general client policies, retry options, and more.
- Context
- Pipeline execution context.
- Etag
- Represents an ETag for versioned resources.
- Exponential
Retry Options - Options for how an exponential retry strategy should behave.
- Fixed
Retry Options - Options for how a fixed retry strategy should behave.
- Pager
- Represents a paginated result across multiple requests.
- Pipeline
- Execution pipeline.
- Request
- A pipeline request.
- Request
Content - 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.
- Retry
Options - Specify how retries should behave.
- Telemetry
Options - Telemetry options.
- Transport
Options - Transport options.
- Url
- A parsed URL record.
Enums§
- Body
- An HTTP Body.
- Lease
Action - The lease action to perform on an Azure resource.
- Lease
Duration - Lease duration of an Azure resource.
- Lease
State - State of a lease of an Azure resource.
- Lease
Status - Lease status of an Azure resource.
- Method
- HTTP request methods.
- Pager
Result - The result of fetching a single page from a
Pager, whether thePagershould continue or is complete. - Status
Code - HTTP response status codes.
Traits§
- Append
ToUrl Query - Add a new query pair into the target
Url’s query string. - Http
Client - 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.