<PackageReference Include="Microsoft.Net.Http" Version="2.2.23-beta" />

System.Net.Http.HttpClientHandler

A base class for HTTP handler implementations.
public bool AllowAutoRedirect { get; set; }

Gets or sets a value that indicates whether the handler should follow redirection responses.

Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response.

public CookieContainer CookieContainer { get; set; }

Gets or sets the cookie container used to store server cookies by the handler.

public ICredentials Credentials { get; set; }

Gets or sets authentication information used by this handler.

public int MaxAutomaticRedirections { get; set; }

Gets or sets the maximum number of redirects that the handler follows.

public long MaxRequestContentBufferSize { get; set; }

Gets or sets the maximum request content buffer size used by the handler.

public bool PreAuthenticate { get; set; }

Gets or sets a value that indicates whether the handler sends an Authorization header with the request.

public IWebProxy Proxy { get; set; }

Gets or sets proxy information used by the handler.

public virtual bool SupportsAutomaticDecompression { get; }

Gets a value that indicates whether the handler supports automatic response content decompression.

public virtual bool SupportsProxy { get; }

Gets a value that indicates whether the handler supports proxy settings.

public virtual bool SupportsRedirectConfiguration { get; }

Gets a value that indicates whether the handler supports configuration settings for the AllowAutoRedirect and MaxAutomaticRedirections properties.

public bool UseCookies { get; set; }

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 bool UseDefaultCredentials { get; set; }

Gets or sets a value that controls whether default credentials are sent with requests by the handler.

public bool UseProxy { get; set; }

Gets or sets a value that indicates whether the handler uses a proxy for requests.

Creates an instance of a HttpClientHandler class.