/// <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))); }
/// <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())); }