C# Класс Simple.Rest.Extensions.HttpWebRequestExtensions

HTTP web request extensions - makes using HttpWebRequest easier by using Task<T>.
Показать файл Открыть проект

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

Метод Описание
GetRequestStreamAsync ( this request ) : Task

Async method for getting web request.

GetResponseAsync ( this request ) : Task

Async method for getting web response.

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

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

Async method for getting web request.
public static GetRequestStreamAsync ( this request ) : Task
request this The HttpWebRequest instance.
Результат Task

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

Async method for getting web response.
public static GetResponseAsync ( this request ) : Task
request this The HttpWebRequest instance.
Результат Task