Show / Hide Table of Contents

Class ArcGISHttpClientHandler

The default message handler used by a System.Net.Http.HttpClient and handles ArcGIS Server identity.

Inheritance
System.Object
System.Net.Http.HttpMessageHandler
System.Net.Http.HttpClientHandler
ArcGISHttpClientHandler
Implements
System.IDisposable
HttpClientHandler.Dispose(Boolean)
System.Net.Http.HttpClientHandler.AllowAutoRedirect
HttpClientHandler.AutomaticDecompression
System.Net.Http.HttpClientHandler.ClientCertificateOptions
System.Net.Http.HttpClientHandler.CookieContainer
HttpClientHandler.Credentials
HttpClientHandler.MaxAutomaticRedirections
HttpClientHandler.MaxRequestContentBufferSize
System.Net.Http.HttpClientHandler.PreAuthenticate
System.Net.Http.HttpClientHandler.Proxy
System.Net.Http.HttpClientHandler.SupportsAutomaticDecompression
HttpClientHandler.SupportsProxy
System.Net.Http.HttpClientHandler.SupportsRedirectConfiguration
System.Net.Http.HttpClientHandler.UseCookies
System.Net.Http.HttpClientHandler.UseDefaultCredentials
HttpClientHandler.UseProxy
System.Net.Http.HttpMessageHandler.Dispose()
Object.Equals(Object)
Object.Equals(Object, Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
System.Object.ToString()
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 System.Net.Http.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

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.