HttpClient.DownloadResponse

Return an HttpWebResponse object for a request. You can use the Response to read the result as needed. This is a low level method. Most of the other 'Get' methods call this method and process the results further.

public HttpWebResponse DownloadResponse(string url)

Return Value

An HttpWebResponse Object

Parameters

url
Url to retrieve.

Remarks

Important: The Response object's Close() method must be called when you are done with the object.


See also:

Class HttpClient

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic