Partager via


HttpClientHandlerExtensions Class

Provides extension methods for determining the capabilities of the HTTP client handler.

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpClientHandlerExtensions

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Extensions (in System.Net.Http.Extensions.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class HttpClientHandlerExtensions
'Usage
public static class HttpClientHandlerExtensions
[ExtensionAttribute]
public ref class HttpClientHandlerExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type HttpClientHandlerExtensions =  class end
public final class HttpClientHandlerExtensions

The HttpClientHandlerExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member SupportsAllowAutoRedirect Determines whether the HTTP client handler supports following redirection responses.
Public methodStatic member SupportsPreAuthenticate Determines whether the HTTP client handler supports sending an authorization header with the request.
Public methodStatic member SupportsProtocolVersion Determines whether the HTTP client handler supports protocol version with the request.
Public methodStatic member SupportsTransferEncodingChunked Determines whether the HTTP client handler supports transfer encoding chunked.
Public methodStatic member SupportsUseProxy Determines whether the HTTP client handler supports using a proxy for the request.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Net.Http Namespace