C# Class PRI.ProductivityExtensions.WebRequestExtensions.WebRequestable

Class that contains extension methods that extend WebRequest
Show file Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
BeginGetRequestStream ( this webrequest, AsyncCallback callback ) : IAsyncResult

Extends BeginGetRequestStream so that when a state object is not needed, null does not need to be passed. webrequest.BeginGetRequestStream(callback);

BeginGetResponse ( this webrequest, AsyncCallback callback ) : IAsyncResult

Extends BeginGetResponse so that when a state object is not needed, null does not need to be passed. webrequest.BeginGetResponse(callback);

Method Details

BeginGetRequestStream() public static method

Extends BeginGetRequestStream so that when a state object is not needed, null does not need to be passed. webrequest.BeginGetRequestStream(callback);
public static BeginGetRequestStream ( this webrequest, AsyncCallback callback ) : IAsyncResult
webrequest this
callback AsyncCallback
return IAsyncResult

BeginGetResponse() public static method

Extends BeginGetResponse so that when a state object is not needed, null does not need to be passed. webrequest.BeginGetResponse(callback);
public static BeginGetResponse ( this webrequest, AsyncCallback callback ) : IAsyncResult
webrequest this
callback AsyncCallback
return IAsyncResult