Class ArcGISHttpClientHandler
The default message handler used by a System.Net.Http.HttpClient and handles ArcGIS Server identity.
Inheritance
System.Net.Http.HttpMessageHandler
System.Net.Http.HttpClientHandler
ArcGISHttpClientHandler
Implements
System.IDisposable
System.Net.Http.HttpClientHandler.AllowAutoRedirect
System.Net.Http.HttpClientHandler.AutomaticDecompression
System.Net.Http.HttpClientHandler.CheckCertificateRevocationList
System.Net.Http.HttpClientHandler.ClientCertificates
System.Net.Http.HttpClientHandler.Credentials
System.Net.Http.HttpClientHandler.DangerousAcceptAnyServerCertificateValidator
System.Net.Http.HttpClientHandler.DefaultProxyCredentials
System.Net.Http.HttpClientHandler.MaxAutomaticRedirections
System.Net.Http.HttpClientHandler.MaxConnectionsPerServer
System.Net.Http.HttpClientHandler.PreAuthenticate
System.Net.Http.HttpClientHandler.SupportsAutomaticDecompression
System.Net.Http.HttpClientHandler.SupportsProxy
System.Net.Http.HttpClientHandler.SupportsRedirectConfiguration
System.Net.Http.HttpClientHandler.UseCookies
System.Net.Http.HttpClientHandler.UseDefaultCredentials
System.Net.Http.HttpMessageHandler.Dispose()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Esri.ArcGISRuntime.Http
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ArcGISHttpClientHandler : HttpClientHandler, IDisposable
Constructors
Name | Description |
---|---|
ArcGISHttpClientHandler() | Initializes a new instance of the ArcGISHttpClientHandler class. |
Properties
Name | Description |
---|---|
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. |
Methods
Name | Description |
---|---|
SendAsync(HttpRequestMessage, CancellationToken) | Creates an instance of HttpResponseMessage based on the information provided in the 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 |