C# Class Simple.Rest.Extensions.HttpWebRequestExtensions

HTTP web request extensions - makes using HttpWebRequest easier by using Task<T>.
Datei anzeigen Open project: oriches/Simple.Rest

Public Methods

Method Description
GetRequestStreamAsync ( this request ) : Task

Async method for getting web request.

GetResponseAsync ( this request ) : Task

Async method for getting web response.

Method Details

GetRequestStreamAsync() public static method

Async method for getting web request.
public static GetRequestStreamAsync ( this request ) : Task
request this The HttpWebRequest instance.
return Task

GetResponseAsync() public static method

Async method for getting web response.
public static GetResponseAsync ( this request ) : Task
request this The HttpWebRequest instance.
return Task