Méthode | Description | |
---|---|---|
PostAsync ( HttpClient client, string url, IDictionary textParams ) : Task |
执行HTTP POST请求。
|
|
PostAsync ( HttpClient client, string url, IDictionary textParams, IDictionary fileParams ) : Task |
执行带文件上传的HTTP POST请求。
|
public static PostAsync ( HttpClient client, string url, IDictionary textParams ) : Task |
||
client | HttpClient | HttpClient |
url | string | 请求地址 |
textParams | IDictionary | 请求参数 |
Résultat | Task |
public static PostAsync ( HttpClient client, string url, IDictionary textParams, IDictionary fileParams ) : Task |
||
client | HttpClient | HttpClient |
url | string | 请求地址 |
textParams | IDictionary | 请求文本参数 |
fileParams | IDictionary | 请求文件参数 |
Résultat | Task |