/// <summary> /// Put请求JSON /// </summary> /// <param name="httpClient">http客户端</param> /// <param name="url">URL</param> /// <param name="data">数据</param> /// <param name="customerOptions">自定义选项配置</param> /// <returns>任务</returns> public static Task <string> PutJsonAsync(this HttpClient httpClient, string url, object data = null, Action <ChannelCustomerOptions> customerOptions = null) { return(Task <string> .Run(() => httpClient.PutJson(url, data, customerOptions))); }