PatentManage/bin/System.Net.Http.Formatting.xml
(开头部分) 134KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Net.Http.Formatting</name>
</assembly>
<members>
<member name="T:System.Net.Http.HttpClientExtensions">
<summary>Extension methods that aid in making formatted requests using <see cref="T:System.Net.Http.HttpClient" />.</summary>
</member>
<member name="M:System.Net.Http.HttpClientExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0)">
<summary>Sends a POST request as an asynchronous operation, with a specified value serialized as JSON.</summary>
<returns>A task object representing the asynchronous operation.</returns>
<param name="client">The client used to make the request.</param>
<param name="requestUri">The URI the request is sent to.</param>
<param name="value">The value to write into the entity body of the request.</param>
<typeparam name="T">The type of object to serialize.</typeparam>
</member>
<member name="M:System.Net.Http.HttpClientExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Threading.CancellationToken)">
<summary>Sends a POST request as an asynchronous operation, with a specified value serialized as JSON. Includes a cancellation token to cancel the request.</summary>
<returns>A task object representing the asynchronous operation.</returns>
<param name="client">The client used to make the request.</param>
<param name="requestUri">The URI the request is sent to.</param>
<param name="value">The value to write into the entity body of the request.</param>
<param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
<typeparam name="T">The type of object to serialize.</typeparam>
</member>
<member name="M:System.Net.Http.HttpClientExtensions.PostAsXmlAsync``1(System.Net.Http.HttpClient,System.String,``0)">
<summary>Sends a POST request as an asynchronous operation, with a specified value serialized as XML.</summary>
<returns>A task object representing the asynchronous operation.</returns>
<param name="client">The client used to make the request.</param>
<param name="requestUri">The URI the request is sent to.</param>
<param name="value">The value to write into the entity body of the request.</param>
<typeparam name="T">The type of object to serialize.</typeparam>
</member>
<member name="M:System.Net.Http.HttpClientExtensions.PostAsXmlAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Threading.CancellationToken)">
<summary>Sends a POST request as an asynchronous operation, with a specified value serialized as XML. Includes a cancellation token to cancel the request.</summary>
<returns>A task object representing the asynchronous operation.</returns>
<param name="client">The client used to make the request.</param>
<param name="requestUri">The URI the request is sent to.</param>
<param name="value">The value to write into the entity body of the request.</param>
<param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
<typeparam name="T">The type of object to serialize.</typeparam>
</member>
<member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter)">
<summary>Sends a POST request as an asynchronous operation, with a specified value serialized using the given formatter.</summary>
<returns>A task object representing the asynchronous operation.</returns>
<param name="client">The client used to make the request.</param>
<param name="requestUri">The URI the request is sent to.</param>
<param name="value">The value to write into the entity body of the request.</param>
<param name="formatter">The formatter used to serialize the value.</param>
<typeparam name="T">The type of object to serialize.</typeparam>
</member>
<member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.Net.Http.Headers.MediaTypeHeaderValue,System.Threading.CancellationToken)">
<summary>Sends a POST request as an asynchronous operation, with a specified value serialized using the given formatter and media type.</summary>
<returns>A task object representing the asynchronous operation.</returns>
<param name="client">The client used to make the request.</param>
<param name="requestUri">The URI the request is sent to.</param>
<param name="value">The value to write into the entity body of the request.</param>
<param name="formatter">The formatter used to serialize the value.</param>
<param name="mediaType">The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used.</param>
后面还有 1429 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
