Show / Hide Table of Contents

Class ArcGISHttpClientHandler

The default message handler used by a and handles ArcGIS Server identity.

Inheritance
System.Object
ArcGISHttpClientHandler
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

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.