Метод | Описание | |
---|---|---|
DefaultHttpClient ( ) : System | ||
Get ( string url, Action |
Makes an asynchronous http GET request to the specified url.
|
|
Initialize ( IConnection connection ) : void | ||
Post ( string url, Action |
Makes an asynchronous http POST request to the specified url.
|
Метод | Описание | |
---|---|---|
CreateHandler ( ) : |
Метод | Описание | |
---|---|---|
GetHttpClient ( bool isLongRunning ) : |
Returns the appropriate client based on whether it is a long running request
|
|
PrepareClientRequest ( |
Adds certificates, credentials, proxies and cookies to the request
|
protected CreateHandler ( ) : |
||
Результат |
public Get ( string url, Action |
||
url | string | The url to send the request to. |
prepareRequest | Action |
A callback that initializes the request with default values. |
isLongRunning | bool | Indicates whether the request is long running |
Результат | Task |
public Initialize ( IConnection connection ) : void | ||
connection | IConnection | |
Результат | void |
public Post ( string url, Action |
||
url | string | The url to send the request to. |
prepareRequest | Action |
A callback that initializes the request with default values. |
postData | string>.IDictionary | form url encoded data. |
isLongRunning | bool | Indicates whether the request is long running |
Результат | Task |