DotNetHttpClient Type
.NET implementation of IHttpClient backed by HttpClient. Follows up to twenty redirects and removes authentication headers when the destination changes origin. HTTPS-to-HTTP redirects are rejected.
Constructors
| Constructor |
Description
|
|
Creates a transport using a shared HttpClient instance.
|
Full Usage:
DotNetHttpClient(httpClient)
Parameters:
HttpClient
Returns: DotNetHttpClient
|
|
Instance members
| Instance member |
Description
|
|
The underlying client, whose handler must keep automatic redirects disabled.
|
DataHubClient