See: Description
| Interface | Description |
|---|---|
| RequestPolicy |
Uses the decorator pattern to add custom behavior when an HTTP request is made.
|
| RequestPolicyFactory |
Factory to create a RequestPolicy.
|
| Class | Description |
|---|---|
| AbstractRequestPolicy |
An abstract RequestPolicy base-class.
|
| AddDatePolicyFactory |
Creates a RequestPolicy which adds a Date header in RFC 1123 format when sending an HTTP request.
|
| AddHeadersPolicyFactory |
Creates a RequestPolicy which adds a particular set of headers to HTTP requests.
|
| CookiePolicyFactory |
Creates a RequestPolicy which stores cookies based on the response Set-Cookie header and adds cookies to requests.
|
| CredentialsPolicyFactory |
Creates a policy which adds credentials from ServiceClientCredentials to a request.
|
| DecodingPolicyFactory |
Creates a RequestPolicy which decodes the response body and headers.
|
| HostPolicyFactory |
Creates a RequestPolicy that adds the provided host to each HttpRequest.
|
| HttpClientRequestPolicyAdapter |
An adapter that converts an HttpClient to a RequestPolicy.
|
| HttpLoggingPolicyFactory |
Creates a RequestPolicy that handles logging of HTTP requests and responses.
|
| PortPolicyFactory |
Creates a RequestPolicy that adds the provided port to each HttpRequest.
|
| ProtocolPolicyFactory |
Creates a RequestPolicy that adds the provided protocol/scheme to each HttpRequest.
|
| ProxyAuthenticationPolicyFactory |
Creates a RequestPolicy that adds basic proxy authentication to outgoing HTTP requests.
|
| RequestIdPolicyFactory |
Creates a policy which puts a UUID in the request header.
|
| RequestPolicyOptions |
Optional properties that can be used when creating a RequestPolicy.
|
| RetryPolicyFactory |
Creates a RequestPolicy which retries when a recoverable HTTP error occurs.
|
| TimeoutPolicyFactory |
Creates a RequestPolicy that limits the time allowed between sending a request and receiving the response.
|
| UserAgentPolicyFactory |
Adds a 'User-Agent' header to a request.
|
| Enum | Description |
|---|---|
| HttpLogDetailLevel |
The level of detail to log on HTTP messages.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/