Property | Type | Description | |
---|---|---|---|
HttpWebRequestFactory | HttpWebRequestFactoryDelegate |
Method | Description | |
---|---|---|
AddStartingSlashIfNotPresent ( string input ) : string | ||
BuildRequestUrl ( string baseUrl, string resourcePath, string>.IEnumerable |
||
CreateHttpWebRequest ( string requestUrl, string httpMethod, string>.IEnumerable |
||
Execute ( IHttpWebRequest httpWebRequest, Stream requestBody ) : |
||
ExecuteAsync ( IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
ExecuteTaskAsync ( IHttpWebRequest httpWebRequest, Stream requestBody ) : System.Threading.Tasks.Task |
||
ExecuteTaskAsync ( IHttpWebRequest httpWebRequest, Stream requestBody, object state ) : System.Threading.Tasks.Task |
||
HttpWebHelper ( ) : System | ||
HttpWebHelper ( HttpWebRequestFactoryDelegate httpWebRequestFactory ) : System | ||
ToString ( Stream stream ) : string |
Method | Description | |
---|---|---|
BeginGetRequestStream ( IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
BeginGetResponse ( IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
OnResponseReceived ( |
||
SetHttpWebRequestHeaders ( IHttpWebRequest httpWebRequest, string>.IEnumerable |
Method | Description | |
---|---|---|
CopyRequestStream ( IHttpWebRequest httpWebRequest, Stream requestBody, Stream requestStream ) : |
||
CopyRequestStream ( IHttpWebRequest httpWebRequest, Stream requestBody, Stream requestStream, AsyncCallback callback, object state ) : void | ||
CopyResponseStream ( IHttpWebRequest httpWebRequest, IHttpWebResponse httpWebResponse, |
||
CopyResponseStream ( IHttpWebRequest httpWebRequest, IHttpWebResponse httpWebResponse, |
||
CopyStream ( Stream input, Stream output, bool flushInput, bool flushOutput ) : void | ||
CopyStreamAsync ( Stream input, Stream output, bool flushInput, bool flushOutput, StreamCopyCompletedDelegate completed ) : void | ||
GetResponse ( IHttpWebRequest httpWebRequest, Stream requestBody ) : |
||
Init ( ) : void | ||
ReadResponseStream ( IHttpWebRequest httpWebRequest, IHttpWebResponse httpWebResponse, |
||
ReadResponseStream ( IHttpWebRequest httpWebRequest, IHttpWebResponse httpWebResponse, |
||
ReadStream ( Stream input, bool flushInput ) : void | ||
RequestCallback ( IAsyncResult asyncResult, IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
ResponseCallback ( IAsyncResult asyncResult, IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
WriteAndGetReponse ( IHttpWebRequest httpWebRequest, Stream requestBody ) : |
public static AddStartingSlashIfNotPresent ( string input ) : string | ||
input | string | |
return | string |
protected BeginGetRequestStream ( IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
callback | AsyncCallback | |
state | object | |
return | void |
protected BeginGetResponse ( IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
callback | AsyncCallback | |
state | object | |
return | void |
public static BuildRequestUrl ( string baseUrl, string resourcePath, string>.IEnumerable |
||
baseUrl | string | |
resourcePath | string | |
queryStrings | string>.IEnumerable | |
return | string |
public CreateHttpWebRequest ( string requestUrl, string httpMethod, string>.IEnumerable |
||
requestUrl | string | |
httpMethod | string | |
requestHeaders | string>.IEnumerable | |
requestCookies | ||
return | IHttpWebRequest |
public Execute ( IHttpWebRequest httpWebRequest, Stream requestBody ) : |
||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
return |
public ExecuteAsync ( IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
callback | AsyncCallback | |
state | object | |
return | void |
public ExecuteTaskAsync ( IHttpWebRequest httpWebRequest, Stream requestBody ) : System.Threading.Tasks.Task |
||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
return | System.Threading.Tasks.Task |
public ExecuteTaskAsync ( IHttpWebRequest httpWebRequest, Stream requestBody, object state ) : System.Threading.Tasks.Task |
||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
state | object | |
return | System.Threading.Tasks.Task |
public HttpWebHelper ( HttpWebRequestFactoryDelegate httpWebRequestFactory ) : System | ||
httpWebRequestFactory | HttpWebRequestFactoryDelegate | |
return | System |
protected OnResponseReceived ( |
||
args | ||
return | void |
protected SetHttpWebRequestHeaders ( IHttpWebRequest httpWebRequest, string>.IEnumerable |
||
httpWebRequest | IHttpWebRequest | |
requestHeaders | string>.IEnumerable | |
return | void |
public static ToString ( Stream stream ) : string | ||
stream | Stream | |
return | string |