HttpClient
HttpClient()
HttpClient(HttpMessageHandler)
HttpClient(HttpMessageHandler, Boolean)
BaseAddress
DefaultProxy
DefaultRequestHeaders
DefaultRequestVersion
DefaultVersionPolicy
MaxResponseContentBufferSize
Timeout
CancelPendingRequests()
DeleteAsync(String)
DeleteAsync(Uri)
DeleteAsync(String, CancellationToken)
DeleteAsync(Uri, CancellationToken)
Dispose(Boolean)
GetAsync(String)
GetAsync(Uri)
GetAsync(String, CancellationToken)
GetAsync(String, HttpCompletionOption)
GetAsync(Uri, CancellationToken)
GetAsync(Uri, HttpCompletionOption)
GetAsync(String, HttpCompletionOption, CancellationToken)
GetAsync(Uri, HttpCompletionOption, CancellationToken)
GetByteArrayAsync(String)
GetByteArrayAsync(Uri)
GetByteArrayAsync(String, CancellationToken)
GetByteArrayAsync(Uri, CancellationToken)
GetStreamAsync(String)
GetStreamAsync(Uri)
GetStreamAsync(String, CancellationToken)
GetStreamAsync(Uri, CancellationToken)
GetStringAsync(String)
GetStringAsync(Uri)
GetStringAsync(String, CancellationToken)
GetStringAsync(Uri, CancellationToken)
PatchAsync(String, HttpContent)
PatchAsync(Uri, HttpContent)
PatchAsync(String, HttpContent, CancellationToken)
PatchAsync(Uri, HttpContent, CancellationToken)
PostAsync(String, HttpContent)
PostAsync(Uri, HttpContent)
PostAsync(String, HttpContent, CancellationToken)
PostAsync(Uri, HttpContent, CancellationToken)
PutAsync(String, HttpContent)
PutAsync(Uri, HttpContent)
PutAsync(String, HttpContent, CancellationToken)
PutAsync(Uri, HttpContent, CancellationToken)
Send(HttpRequestMessage)
Send(HttpRequestMessage, CancellationToken)
Send(HttpRequestMessage, HttpCompletionOption)
Send(HttpRequestMessage, HttpCompletionOption, CancellationToken)
SendAsync(HttpRequestMessage)
SendAsync(HttpRequestMessage, CancellationToken)
SendAsync(HttpRequestMessage, HttpCompletionOption)
SendAsync(HttpRequestMessage, HttpCompletionOption, CancellationToken)
DeleteFromJsonAsync(HttpClient, String, Type, CancellationToken)
DeleteFromJsonAsync(HttpClient, Uri, Type, CancellationToken)
DeleteFromJsonAsync(HttpClient, String, Type, JsonSerializerContext, CancellationToken)
DeleteFromJsonAsync(HttpClient, String, Type, JsonSerializerOptions, CancellationToken)
DeleteFromJsonAsync(HttpClient, Uri, Type, JsonSerializerContext, CancellationToken)
DeleteFromJsonAsync(HttpClient, Uri, Type, JsonSerializerOptions, CancellationToken)
DeleteFromJsonAsync<TValue>(HttpClient, String, CancellationToken)
DeleteFromJsonAsync<TValue>(HttpClient, Uri, CancellationToken)
DeleteFromJsonAsync<TValue>(HttpClient, String, JsonSerializerOptions, CancellationToken)
DeleteFromJsonAsync<TValue>(HttpClient, String, JsonTypeInfo<TValue>, CancellationToken)
DeleteFromJsonAsync<TValue>(HttpClient, Uri, JsonSerializerOptions, CancellationToken)
DeleteFromJsonAsync<TValue>(HttpClient, Uri, JsonTypeInfo<TValue>, CancellationToken)
GetFromJsonAsAsyncEnumerable<TValue>(HttpClient, String, CancellationToken)
GetFromJsonAsAsyncEnumerable<TValue>(HttpClient, Uri, CancellationToken)
GetFromJsonAsAsyncEnumerable<TValue>(HttpClient, String, JsonSerializerOptions, CancellationToken)
GetFromJsonAsAsyncEnumerable<TValue>(HttpClient, String, JsonTypeInfo<TValue>, CancellationToken)
GetFromJsonAsAsyncEnumerable<TValue>(HttpClient, Uri, JsonSerializerOptions, CancellationToken)
GetFromJsonAsAsyncEnumerable<TValue>(HttpClient, Uri, JsonTypeInfo<TValue>, CancellationToken)
GetFromJsonAsync(HttpClient, String, Type, CancellationToken)
GetFromJsonAsync(HttpClient, Uri, Type, CancellationToken)
GetFromJsonAsync(HttpClient, String, Type, JsonSerializerContext, CancellationToken)
GetFromJsonAsync(HttpClient, String, Type, JsonSerializerOptions, CancellationToken)
GetFromJsonAsync(HttpClient, Uri, Type, JsonSerializerContext, CancellationToken)
GetFromJsonAsync(HttpClient, Uri, Type, JsonSerializerOptions, CancellationToken)
GetFromJsonAsync<TValue>(HttpClient, String, CancellationToken)
GetFromJsonAsync<TValue>(HttpClient, Uri, CancellationToken)
GetFromJsonAsync<TValue>(HttpClient, String, JsonSerializerOptions, CancellationToken)
GetFromJsonAsync<TValue>(HttpClient, String, JsonTypeInfo<TValue>, CancellationToken)
GetFromJsonAsync<TValue>(HttpClient, Uri, JsonSerializerOptions, CancellationToken)
GetFromJsonAsync<TValue>(HttpClient, Uri, JsonTypeInfo<TValue>, CancellationToken)
PatchAsJsonAsync<TValue>(HttpClient, String, TValue, CancellationToken)
PatchAsJsonAsync<TValue>(HttpClient, Uri, TValue, CancellationToken)
PatchAsJsonAsync<TValue>(HttpClient, String, TValue, JsonSerializerOptions, CancellationToken)
PatchAsJsonAsync<TValue>(HttpClient, String, TValue, JsonTypeInfo<TValue>, CancellationToken)
PatchAsJsonAsync<TValue>(HttpClient, Uri, TValue, JsonSerializerOptions, CancellationToken)
PatchAsJsonAsync<TValue>(HttpClient, Uri, TValue, JsonTypeInfo<TValue>, CancellationToken)
PostAsJsonAsync<T>(HttpClient, String, T)
PostAsJsonAsync<T>(HttpClient, Uri, T)
PostAsJsonAsync<T>(HttpClient, String, T, CancellationToken)
PostAsJsonAsync<T>(HttpClient, Uri, T, CancellationToken)
PostAsJsonAsync<TValue>(HttpClient, String, TValue, CancellationToken)
PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, CancellationToken)
PostAsJsonAsync<TValue>(HttpClient, String, TValue, JsonSerializerOptions, CancellationToken)
PostAsJsonAsync<TValue>(HttpClient, String, TValue, JsonTypeInfo<TValue>, CancellationToken)
PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, JsonSerializerOptions, CancellationToken)
PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, JsonTypeInfo<TValue>, CancellationToken)
PostAsXmlAsync<T>(HttpClient, String, T)
PostAsXmlAsync<T>(HttpClient, Uri, T)
PostAsXmlAsync<T>(HttpClient, String, T, CancellationToken)
PostAsXmlAsync<T>(HttpClient, Uri, T, CancellationToken)
PostAsync<T>(HttpClient, String, T, MediaTypeFormatter)
PostAsync<T>(HttpClient, Uri, T, MediaTypeFormatter)
PostAsync<T>(HttpClient, String, T, MediaTypeFormatter, CancellationToken)
PostAsync<T>(HttpClient, String, T, MediaTypeFormatter, String)
PostAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, CancellationToken)
PostAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, String)
PostAsync<T>(HttpClient, String, T, MediaTypeFormatter, MediaTypeHeaderValue, CancellationToken)
PostAsync<T>(HttpClient, String, T, MediaTypeFormatter, String, CancellationToken)
PostAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, MediaTypeHeaderValue, CancellationToken)
PostAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, String, CancellationToken)
PutAsJsonAsync<T>(HttpClient, String, T)
PutAsJsonAsync<T>(HttpClient, Uri, T)
PutAsJsonAsync<T>(HttpClient, String, T, CancellationToken)
PutAsJsonAsync<T>(HttpClient, Uri, T, CancellationToken)
PutAsJsonAsync<TValue>(HttpClient, String, TValue, CancellationToken)
PutAsJsonAsync<TValue>(HttpClient, Uri, TValue, CancellationToken)
PutAsJsonAsync<TValue>(HttpClient, String, TValue, JsonSerializerOptions, CancellationToken)
PutAsJsonAsync<TValue>(HttpClient, String, TValue, JsonTypeInfo<TValue>, CancellationToken)
PutAsJsonAsync<TValue>(HttpClient, Uri, TValue, JsonSerializerOptions, CancellationToken)
PutAsJsonAsync<TValue>(HttpClient, Uri, TValue, JsonTypeInfo<TValue>, CancellationToken)
PutAsXmlAsync<T>(HttpClient, String, T)
PutAsXmlAsync<T>(HttpClient, Uri, T)
PutAsXmlAsync<T>(HttpClient, String, T, CancellationToken)
PutAsXmlAsync<T>(HttpClient, Uri, T, CancellationToken)
PutAsync<T>(HttpClient, String, T, MediaTypeFormatter)
PutAsync<T>(HttpClient, Uri, T, MediaTypeFormatter)
PutAsync<T>(HttpClient, String, T, MediaTypeFormatter, CancellationToken)
PutAsync<T>(HttpClient, String, T, MediaTypeFormatter, String)
PutAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, CancellationToken)
PutAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, String)
PutAsync<T>(HttpClient, String, T, MediaTypeFormatter, MediaTypeHeaderValue, CancellationToken)
PutAsync<T>(HttpClient, String, T, MediaTypeFormatter, String, CancellationToken)
PutAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, MediaTypeHeaderValue, CancellationToken)
PutAsync<T>(HttpClient, Uri, T, MediaTypeFormatter, String, CancellationToken)
net10.0-windows7.0
namespace System.Net.Http.Json
{
public static class HttpClientJsonExtensions
{
[RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext.")]
[RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
public static Task<HttpResponseMessage!>! PutAsJsonAsync<TValue>(this HttpClient! client, [StringSyntax("Uri")] string? requestUri, TValue value, JsonSerializerOptions? options = null, CancellationToken cancellationToken = default);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assemblies | System.Net.Http.Json , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Net.Http.Json , Version=10.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
Referencing | Your project needs a package reference to |
Package | System.Net.Http.Json (9.0.3) net9.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API