You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Sends a DELETE request and reads the response content as a string.
16
+
/// </remarks>
17
+
/// <param name="httpClient">HttpClient实例 / The HttpClient instance</param>
18
+
/// <param name="url">请求URL / The request URL</param>
19
+
/// <param name="cancellationToken">取消令牌 / The cancellation token</param>
20
+
/// <returns>响应内容的字符串形式 / The response content as a string</returns>
21
+
/// <exception cref="ArgumentNullException">当 <paramref name="httpClient"/> 或 <paramref name="url"/> 为 null 时抛出 / Thrown when <paramref name="httpClient"/> or <paramref name="url"/> is null</exception>
22
+
/// <exception cref="ArgumentException">当 <paramref name="url"/> 为空字符串或空白字符串时抛出 / Thrown when <paramref name="url"/> is empty or whitespace</exception>
23
+
/// <exception cref="HttpRequestException">当HTTP响应状态码表示失败时抛出 / Thrown when the HTTP response status code indicates failure</exception>
/// Sends a DELETE request with custom headers and reads the response content as a string.
38
+
/// </remarks>
39
+
/// <param name="httpClient">HttpClient实例 / The HttpClient instance</param>
40
+
/// <param name="url">请求URL / The request URL</param>
41
+
/// <param name="headers">请求头字典 / The request headers dictionary</param>
42
+
/// <param name="timeout">超时时间(秒),默认10秒 / Timeout in seconds, default is 10 seconds</param>
43
+
/// <param name="cancellationToken">取消令牌 / The cancellation token</param>
44
+
/// <returns>响应内容的字符串形式 / The response content as a string</returns>
45
+
/// <exception cref="ArgumentNullException">当 <paramref name="httpClient"/> 或 <paramref name="url"/> 为 null 时抛出 / Thrown when <paramref name="httpClient"/> or <paramref name="url"/> is null</exception>
46
+
/// <exception cref="ArgumentException">当 <paramref name="url"/> 为空字符串或空白字符串时抛出 / Thrown when <paramref name="url"/> is empty or whitespace</exception>
47
+
/// <exception cref="HttpRequestException">当HTTP响应状态码表示失败时抛出 / Thrown when the HTTP response status code indicates failure</exception>
/// Sends a DELETE request and reads the response content as a byte array.
67
+
/// </remarks>
68
+
/// <param name="httpClient">HttpClient实例 / The HttpClient instance</param>
69
+
/// <param name="url">请求URL / The request URL</param>
70
+
/// <param name="cancellationToken">取消令牌 / The cancellation token</param>
71
+
/// <returns>响应内容的字节数组形式 / The response content as a byte array</returns>
72
+
/// <exception cref="ArgumentNullException">当 <paramref name="httpClient"/> 或 <paramref name="url"/> 为 null 时抛出 / Thrown when <paramref name="httpClient"/> or <paramref name="url"/> is null</exception>
73
+
/// <exception cref="ArgumentException">当 <paramref name="url"/> 为空字符串或空白字符串时抛出 / Thrown when <paramref name="url"/> is empty or whitespace</exception>
74
+
/// <exception cref="HttpRequestException">当HTTP响应状态码表示失败时抛出 / Thrown when the HTTP response status code indicates failure</exception>
/// Sends a DELETE request with custom headers and reads the response content as a byte array.
89
+
/// </remarks>
90
+
/// <param name="httpClient">HttpClient实例 / The HttpClient instance</param>
91
+
/// <param name="url">请求URL / The request URL</param>
92
+
/// <param name="headers">请求头字典 / The request headers dictionary</param>
93
+
/// <param name="timeout">超时时间(秒),默认10秒 / Timeout in seconds, default is 10 seconds</param>
94
+
/// <param name="cancellationToken">取消令牌 / The cancellation token</param>
95
+
/// <returns>响应内容的字节数组形式 / The response content as a byte array</returns>
96
+
/// <exception cref="ArgumentNullException">当 <paramref name="httpClient"/> 或 <paramref name="url"/> 为 null 时抛出 / Thrown when <paramref name="httpClient"/> or <paramref name="url"/> is null</exception>
97
+
/// <exception cref="ArgumentException">当 <paramref name="url"/> 为空字符串或空白字符串时抛出 / Thrown when <paramref name="url"/> is empty or whitespace</exception>
98
+
/// <exception cref="HttpRequestException">当HTTP响应状态码表示失败时抛出 / Thrown when the HTTP response status code indicates failure</exception>
0 commit comments