HttpClient Properties

.NET Framework 4.6 and 4.5

The HttpClient type exposes the following members.

  Name Description
Public property BaseAddress Gets or sets the base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests.
Public property DefaultRequestHeaders Gets the headers which should be sent with each request.
Public property MaxResponseContentBufferSize Gets or sets the maximum number of bytes to buffer when reading the response content.
Public property Timeout Gets or sets the timespan to wait before the request times out.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft