HttpClientHandler Properties

The HttpClientHandler type exposes the following members.

Properties

  Name Description
Public property AllowAutoRedirect Gets or sets a value that indicates whether the handler should follow redirection responses.
Public property AutomaticDecompression Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response.
Public property ClientCertificateOptions Gets or sets how the client certificates are provided.
Public property CookieContainer Gets or sets the cookie container used to store server cookies by the handler.
Public property Credentials Gets or sets authentication information used by this handler.
Public property MaxAutomaticRedirections Gets or sets the maximum number of redirects that the handler follows.
Public property MaxRequestContentBufferSize Gets or sets the maximum request content buffer size used by the handler.
Public property PreAuthenticate Gets or sets a value that indicates whether the handler sends an Authorization header with the request.
Public property Proxy Gets or sets proxy information used by the handler.
Public property SupportsAutomaticDecompression Gets a value that indicates whether the handler supports automatic response content decompression.
Public property SupportsProxy Gets a value that indicates whether the handler supports proxy settings.
Public property SupportsRedirectConfiguration Gets a value that indicates whether the handler supports configuration settings for the AllowAutoRedirect and MaxAutomaticRedirections properties.
Public property UseCookies Gets 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 property UseDefaultCredentials Gets or sets a value that controls whether default credentials are sent with requests by the handler.
Public property UseProxy Gets or sets a value that indicates whether the handler uses a proxy for requests.

Top

See Also

Reference

HttpClientHandler Class

System.Net.Http Namespace