Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpClientHandler Class

A base class for HTTP handler implementations.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)
public class HttpClientHandler : HttpMessageHandler

The HttpClientHandler type exposes the following members.

Public methodHttpClientHandlerCreates an instance of a HttpClientHandler class.
Public propertyAllowAutoRedirectGets or sets a value that indicates whether the handler should follow redirection responses.
Public propertyAutomaticDecompressionGets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response.
Public propertyClientCertificateOptionsGets or sets {insert text here}.
Public propertyCookieContainerGets or sets the cookie container used to store server cookies by the handler.
Public propertyCredentialsGets or sets authentication information used by this handler.
Public propertyMaxAutomaticRedirectionsGets or sets the maximum number of redirects that the handler follows.
Public propertyMaxRequestContentBufferSizeGets or sets the maximum request content buffer size used by the handler.
Public propertyPreAuthenticateGets or sets a value that indicates whether the handler sends an Authorization header with the request.
Public propertyProxyGets or sets proxy information used by the handler.
Public propertySupportsAutomaticDecompressionGets a value that indicates whether the handler supports automatic response content decompression.
Public propertySupportsProxyGets a value that indicates whether the handler supports proxy settings.
Public propertySupportsRedirectConfigurationGets a value that indicates whether the handler supports configuration settings for the AllowAutoRedirect and MaxAutomaticRedirections properties.
Public propertyUseCookiesGets or sets a value that indicates whether the handler uses the CookieContainer property to store server cookies and uses these cookies when sending requests.
Public propertyUseDefaultCredentialsGets or sets a value that controls whether default credentials are sent with requests by the handler.
Public propertyUseProxyGets or sets a value that indicates whether the handler uses a proxy for requests.
Public methodDispose()Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageHandler. (Inherited from HttpMessageHandler.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the HttpClientHandler and optionally disposes of the managed resources. (Overrides HttpMessageHandler.Dispose(Boolean).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSendAsync (Overrides HttpMessageHandler.SendAsync(HttpRequestMessage, CancellationToken).)
Public methodToString (Inherited from Object.)
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.