Property | Type | Description | |
---|---|---|---|
UsCulture |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Get ( |
Performs a GET request and returns the resulting stream
|
|
Get ( string url, |
Gets the specified URL.
|
|
Get ( string url, |
Performs a GET request and returns the resulting stream
|
|
GetResponse ( |
Gets the response internal.
|
|
HttpClientManager ( ) : System |
Initializes a new instance of the HttpClientManager class.
|
|
Post ( |
||
Post ( |
Performs a POST request
|
|
Post ( string url, string>.Dictionary |
Posts the specified URL.
|
|
Post ( string url, string>.Dictionary |
Performs a POST request
|
|
SendAsync ( |
send as an asynchronous operation.
|
Method | Description | |
---|---|---|
Dispose ( bool dispose ) : void |
Releases unmanaged and - optionally - managed resources.
|
Method | Description | |
---|---|---|
AddRequestHeaders ( |
||
CacheResponse ( |
||
CreateWebRequest ( string url ) : |
||
EnsureSuccessStatusCode ( |
||
GetCachedResponse ( string responseCachePath, System.TimeSpan cacheLength, string url ) : Task |
||
GetCancellationException ( |
Throws the cancellation exception.
|
|
GetContentLength ( |
||
GetException ( |
||
GetHostFromUrl ( string url ) : string |
Gets the host from URL.
|
|
GetHttpClient ( string host, bool enableHttpCompression ) : |
Gets
|
|
GetRequest ( |
||
GetResponseAsync ( |
||
GetResponseInfo ( |
||
GetResponseInfo ( |
||
SendAsyncInternal ( |
||
TimeoutCallback ( object state, bool timedOut ) : void | ||
ValidateParams ( |
protected Dispose ( bool dispose ) : void | ||
dispose | bool | |
return | void |
public Get ( |
||
options | The options. | |
return | Task |
public Get ( string url, |
||
url | string | The URL. |
cancellationToken | The cancellation token. | |
return | Task |
public Get ( string url, |
||
url | string | The URL. |
resourcePool | The resource pool. | |
cancellationToken | The cancellation token. | |
return | Task |
public GetResponse ( |
||
options | The options. | |
return | Task |
public Post ( |
||
options | ||
return | Task |
public Post ( |
||
options | The options. | |
postData | string>.Dictionary | Params to add to the POST data. |
return | Task |
public Post ( string url, string>.Dictionary |
||
url | string | The URL. |
postData | string>.Dictionary | The post data. |
cancellationToken | The cancellation token. | |
return | Task |
public Post ( string url, string>.Dictionary |
||
url | string | The URL. |
postData | string>.Dictionary | Params to add to the POST data. |
resourcePool | The resource pool. | |
cancellationToken | The cancellation token. | |
return | Task |
public SendAsync ( |
||
options | The options. | |
httpMethod | string | The HTTP method. |
return | Task |