Class ArcGISHttpClientHandler
The default message handler used by a
Inheritance
Namespace: Esri.ArcGISRuntime.Http
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ArcGISHttpClientHandler : HttpClientHandler
Constructors
| Name | Description |
|---|---|
| ArcGISHttpClientHandler() | Initializes a new instance of the ArcGISHttpClientHandler class. |
Properties
| Name | Description |
|---|---|
| ArcGISCredential | Gets or sets the credentials for the message handler. |
| CustomUserAgentValues | Gets or sets a set of custom values to add to the user agent string. |
| DefaultReferer | Gets or sets the default referer used by default for all requests going through ArcGISHttpClientHandler. |
| HttpRequestBeginInvocationList | Gets the HttpRequestBegin invocation list. |
Methods
| Name | Description |
|---|---|
| SendAsync(HttpRequestMessage, Threading.CancellationToken) | Creates an instance of HttpResponseMessage based on the information provided in the System.Net.Http.HttpRequestMessage as an operation that will not block. |
Events
| Name | Description |
|---|---|
| HttpRequestBegin | Sets a global HTTP request listener invoked every time a request is made by the ArcGISHttpClientHandler. |
| HttpResponseEnd | Sets a global the HTTP response listener called every time a response is received by the ArcGISHttpClientHandler. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |