Compartir a través de


HttpClient Constructor

Initializes a new instance of the HttpClient class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method HttpClient() Initializes a new instance of the HttpClient class.
Public method HttpClient(HttpMessageHandler) Initializes a new instance of the HttpClient class with a specific handler.
Public method HttpClient(HttpMessageHandler, Boolean) Initializes a new instance of the HttpClient class with a specific handler and a value that indicates whether this instance is responsible for disposing the handler.

Top

See Also

Reference

HttpClient Class

System.Net.Http Namespace