Свойство | Type | Description | |
---|---|---|---|
HttpWebRequestFactory | HttpWebRequestFactoryDelegate |
Méthode | 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 |
Méthode | 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 |
Méthode | 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 | |
Résultat | string |
protected BeginGetRequestStream ( IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
callback | AsyncCallback | |
state | object | |
Résultat | void |
protected BeginGetResponse ( IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
callback | AsyncCallback | |
state | object | |
Résultat | void |
public static BuildRequestUrl ( string baseUrl, string resourcePath, string>.IEnumerable |
||
baseUrl | string | |
resourcePath | string | |
queryStrings | string>.IEnumerable | |
Résultat | string |
public CreateHttpWebRequest ( string requestUrl, string httpMethod, string>.IEnumerable |
||
requestUrl | string | |
httpMethod | string | |
requestHeaders | string>.IEnumerable | |
requestCookies | ||
Résultat | IHttpWebRequest |
public Execute ( IHttpWebRequest httpWebRequest, Stream requestBody ) : |
||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
Résultat |
public ExecuteAsync ( IHttpWebRequest httpWebRequest, Stream requestBody, AsyncCallback callback, object state ) : void | ||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
callback | AsyncCallback | |
state | object | |
Résultat | void |
public ExecuteTaskAsync ( IHttpWebRequest httpWebRequest, Stream requestBody ) : System.Threading.Tasks.Task |
||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
Résultat | System.Threading.Tasks.Task |
public ExecuteTaskAsync ( IHttpWebRequest httpWebRequest, Stream requestBody, object state ) : System.Threading.Tasks.Task |
||
httpWebRequest | IHttpWebRequest | |
requestBody | Stream | |
state | object | |
Résultat | System.Threading.Tasks.Task |
public HttpWebHelper ( HttpWebRequestFactoryDelegate httpWebRequestFactory ) : System | ||
httpWebRequestFactory | HttpWebRequestFactoryDelegate | |
Résultat | System |
protected OnResponseReceived ( |
||
args | ||
Résultat | void |
protected SetHttpWebRequestHeaders ( IHttpWebRequest httpWebRequest, string>.IEnumerable |
||
httpWebRequest | IHttpWebRequest | |
requestHeaders | string>.IEnumerable | |
Résultat | void |
public static ToString ( Stream stream ) : string | ||
stream | Stream | |
Résultat | string |