Method | Description | |
---|---|---|
GetHttpResponse ( this request, IAsyncResult asyncResult ) : |
Gets the HttpWebResponse from an Internet resource. This method does not throw a WebException for "error" HTTP status codes; the caller should check the HttpWebResponse.StatusCode property to determine how to handle the response. |
|
GetHttpResponseAsync ( this request ) : Task |
Returns a Task{HttpWebResponse} that wraps a response to an Internet request.
|
public static GetHttpResponse ( this request, IAsyncResult asyncResult ) : |
||
request | this | The request. |
asyncResult | IAsyncResult | The async result. |
return |
public static GetHttpResponseAsync ( this request ) : Task |
||
request | this | The |
return | Task |