C# Class PRI.ProductivityExtensions.HttpWebRequestExtensions.HttpWebRequestable

Class that contains extension methods that extend HttpWebRequest
Mostra file Open project: peteraritchie/ProductivityExtensions

Public Methods

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

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

BeginGetResponse ( this httpwebrequest, AsyncCallback callback ) : IAsyncResult

Extends BeginGetResponse so that when a state object is not needed, null does not need to be passed. httpwebrequest.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. httpwebrequest.BeginGetRequestStream(callback);
public static BeginGetRequestStream ( this httpwebrequest, AsyncCallback callback ) : IAsyncResult
httpwebrequest 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. httpwebrequest.BeginGetResponse(callback);
public static BeginGetResponse ( this httpwebrequest, AsyncCallback callback ) : IAsyncResult
httpwebrequest this
callback AsyncCallback
return IAsyncResult