Class HttpConfigurationExtensions
Extension methods for configuring how HTTP requests are made with the ArcGIS Maps SDK for .NET.
Inheritance
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
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.0 - 200.6 |
.NET | 200.0 - 200.6 |
.NET Windows | 200.0 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 200.0 - 200.6 |
UWP | 200.0 - 200.6 |