Méthode | Description | |
---|---|---|
DownloadAsync ( string url ) : Task |
Asynchronously downloads a file as a byte array from the specified URL.
|
|
GetAsync ( string url, string>.IDictionary |
Asynchronously gets a web page (using a GET query).
|
|
PostAsync ( string url, string>.IDictionary |
Asynchronously posts the specified query to the specified URL (using a POST query).
|
Méthode | Description | |
---|---|---|
GetParametersString ( string>.IDictionary |
Transforms GET parameters into a string.
|
|
HttpClient ( ) : System |
Initializes static members of HttpClient.
|
|
ProcessResponseAsync ( |
Asynchronously processes an HTTP response message, ensuring it was successful and extracting its content.
|
public GetAsync ( string url, string>.IDictionary |
||
url | string | The web page URL. |
parameters | string>.IDictionary | Optional. The query parameters. |
encoding | ||
Résultat | Task |
public PostAsync ( string url, string>.IDictionary |
||
url | string | The query URL. |
parameters | string>.IDictionary | The query parameters. |
encoding | ||
Résultat | Task |