Show / Hide Table of Contents

Class HttpConfigurationExtensions

Extension methods for configuring how HTTP requests are made with the ArcGIS Maps SDK for .NET.

Inheritance
System.Object
HttpConfigurationExtensions
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)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Http
Assembly: Esri.ArcGISRuntime.dll
Syntax
public static class HttpConfigurationExtensions

Methods

Name Description
AddUserAgentValue(IArcGISHttpConfiguration, ProductInfoHeaderValue)

Adds a custom value to the user agent string.

AddUserAgentValue(IArcGISHttpConfiguration, String)

Adds a custom value to the user agent string.

AddUserAgentValue(IArcGISHttpConfiguration, String, String)

Adds a custom value and version to the user agent string.

ConfigureHttp(IArcGISConfiguration, Action<IArcGISHttpConfiguration>)

Configures how the ArcGIS Maps SDK for .NET makes HTTP Web Requests

UseDefaultReferer(IArcGISHttpConfiguration, Uri)

Sets the default referer used by default for all requests going through ArcGISHttpMessageHandler.

UseHttpMessageHandler<T>(IArcGISHttpConfiguration)

Sets a delegate that will be used to create new instances of System.Net.Http.HttpMessageHandler, that will be used by ArcGIS Maps SDK for .NET to perform network requests.

UseHttpMessageInterceptor(IArcGISHttpConfiguration, IHttpMessageInterceptor)

Sets a HTTP request listener that listens to all HTTP requests made by the Maps SDK.

UseMaxConnectionsPerServer(IArcGISHttpConfiguration, Int32)

Sets the maximum number of concurrent connections allowed by an System.Net.Http.HttpClient object.

UseRemoteServerCertificateValidationCallback(IArcGISHttpConfiguration, RemoteCertificateValidationCallback)

Sets the delegate that validates the server certificate during SSL/TLS handshake.

UseResponseCache(IArcGISHttpConfiguration, Boolean)

Enables or disables the HTTP web request cache.

UseResponseCacheSize(IArcGISHttpConfiguration, Int64)

Sets the maximum size of the HTTP cache in bytes.

See Also

Initialize(Action<IArcGISConfiguration>)

Applies to

TargetVersions
.NET Standard 2.0200.0 - 200.8
.NET200.0 - 200.8
.NET Windows200.0 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework200.0 - 200.8
UWP200.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.