コード例 #1
0
 /// <summary>
 /// Makes DELETE request to the specified URL.
 /// </summary>
 /// <param name="url"></param>
 /// <returns>HttpResponseMessage</returns>
 public async Task <EasyHttpResponse> DeleteAsync(string url)
 {
     return(new EasyHttpResponse(await EasyClient.DeleteAsync(url)));
 }
コード例 #2
0
 /// <summary>
 /// Makes DELETE request to the specified URL.
 /// </summary>
 /// <param name="url"></param>
 /// <returns>HttpResponseMessage</returns>
 public EasyHttpResponse Delete(string url)
 {
     return(new EasyHttpResponse(EasyClient.DeleteAsync(url).GetAwaiter().GetResult()));
 }