C# Класс GitHubFeeds.Helpers.HttpWebRequestExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
GetHttpResponse ( this request, IAsyncResult asyncResult ) : HttpWebResponse

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.

See Using If-Modified-Since in HTTP Requests.

GetHttpResponseAsync ( this request ) : Task

Returns a Task{HttpWebResponse} that wraps a response to an Internet request.

Описание методов

GetHttpResponse() публичный статический Метод

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.

See Using If-Modified-Since in HTTP Requests.

public static GetHttpResponse ( this request, IAsyncResult asyncResult ) : HttpWebResponse
request this The request.
asyncResult IAsyncResult The async result.
Результат System.Net.HttpWebResponse

GetHttpResponseAsync() публичный статический Метод

Returns a Task{HttpWebResponse} that wraps a response to an Internet request.
public static GetHttpResponseAsync ( this request ) : Task
request this The .
Результат Task