System.Net.Http.Json
3 wrapped types. Load them with using { "System.Net.Http.Json" }. Click a class to open it.
HttpClientJsonExtensions class static
System.Net.Http.Json.HttpClientJsonExtensions · assembly System.Net.Http.Json
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DeleteFromJsonAsync | DeleteFromJsonAsync([ :client = …, :requestUri = …, :cancellationToken = … ])DeleteFromJsonAsync([ :client = …, :requestUri = …, :options = …, :cancellationToken = … ])DeleteFromJsonAsync([ :client = …, :requestUri = …, :jsonTypeInfo = …, :cancellationToken = … ])DeleteFromJsonAsync([ :client = …, :requestUri = …, :type = …, :cancellationToken = … ]) | static Task<object> DeleteFromJsonAsync(HttpClient client, string requestUri, Type type, JsonSerializerOptions options, CancellationToken cancellationToken = …)static Task<object> DeleteFromJsonAsync(HttpClient client, Uri requestUri, Type type, JsonSerializerOptions options, CancellationToken cancellationToken = …)static Task<TValue> DeleteFromJsonAsync<TValue>(HttpClient client, string requestUri, JsonSerializerOptions options, CancellationToken cancellationToken = …)static Task<TValue> DeleteFromJsonAsync<TValue>(HttpClient client, Uri requestUri, JsonSerializerOptions options, CancellationToken cancellationToken = …)static Task<object> DeleteFromJsonAsync(HttpClient client, string requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken = …)static Task<object> DeleteFromJsonAsync(HttpClient client, Uri requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken = …)static Task<TValue> DeleteFromJsonAsync<TValue>(HttpClient client, string requestUri, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …)static Task<TValue> DeleteFromJsonAsync<TValue>(HttpClient client, Uri requestUri, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …)static Task<object> DeleteFromJsonAsync(HttpClient client, string requestUri, Type type, CancellationToken cancellationToken = …)static Task<object> DeleteFromJsonAsync(HttpClient client, Uri requestUri, Type type, CancellationToken cancellationToken = …)static Task<TValue> DeleteFromJsonAsync<TValue>(HttpClient client, string requestUri, CancellationToken cancellationToken = …)static Task<TValue> DeleteFromJsonAsync<TValue>(HttpClient client, Uri requestUri, CancellationToken cancellationToken = …) |
GetFromJsonAsAsyncEnumerable | GetFromJsonAsAsyncEnumerable([ :client = …, :requestUri = …, :cancellationToken = … ])GetFromJsonAsAsyncEnumerable([ :client = …, :requestUri = …, :options = …, :cancellationToken = … ])GetFromJsonAsAsyncEnumerable([ :client = …, :requestUri = …, :jsonTypeInfo = …, :cancellationToken = … ]) | static IAsyncEnumerable<TValue> GetFromJsonAsAsyncEnumerable<TValue>(HttpClient client, string requestUri, JsonSerializerOptions options, CancellationToken cancellationToken = …)static IAsyncEnumerable<TValue> GetFromJsonAsAsyncEnumerable<TValue>(HttpClient client, Uri requestUri, JsonSerializerOptions options, CancellationToken cancellationToken = …)static IAsyncEnumerable<TValue> GetFromJsonAsAsyncEnumerable<TValue>(HttpClient client, string requestUri, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …)static IAsyncEnumerable<TValue> GetFromJsonAsAsyncEnumerable<TValue>(HttpClient client, Uri requestUri, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …)static IAsyncEnumerable<TValue> GetFromJsonAsAsyncEnumerable<TValue>(HttpClient client, string requestUri, CancellationToken cancellationToken = …)static IAsyncEnumerable<TValue> GetFromJsonAsAsyncEnumerable<TValue>(HttpClient client, Uri requestUri, CancellationToken cancellationToken = …) |
GetFromJsonAsync | GetFromJsonAsync([ :client = …, :requestUri = …, :cancellationToken = … ])GetFromJsonAsync([ :client = …, :requestUri = …, :options = …, :cancellationToken = … ])GetFromJsonAsync([ :client = …, :requestUri = …, :jsonTypeInfo = …, :cancellationToken = … ])GetFromJsonAsync([ :client = …, :requestUri = …, :type = …, :cancellationToken = … ]) | static Task<object> GetFromJsonAsync(HttpClient client, string requestUri, Type type, JsonSerializerOptions options, CancellationToken cancellationToken = …)static Task<object> GetFromJsonAsync(HttpClient client, Uri requestUri, Type type, JsonSerializerOptions options, CancellationToken cancellationToken = …)static Task<TValue> GetFromJsonAsync<TValue>(HttpClient client, string requestUri, JsonSerializerOptions options, CancellationToken cancellationToken = …)static Task<TValue> GetFromJsonAsync<TValue>(HttpClient client, Uri requestUri, JsonSerializerOptions options, CancellationToken cancellationToken = …)static Task<object> GetFromJsonAsync(HttpClient client, string requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken = …)static Task<object> GetFromJsonAsync(HttpClient client, Uri requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken = …)static Task<TValue> GetFromJsonAsync<TValue>(HttpClient client, string requestUri, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …)static Task<TValue> GetFromJsonAsync<TValue>(HttpClient client, Uri requestUri, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …)static Task<object> GetFromJsonAsync(HttpClient client, string requestUri, Type type, CancellationToken cancellationToken = …)static Task<object> GetFromJsonAsync(HttpClient client, Uri requestUri, Type type, CancellationToken cancellationToken = …)static Task<TValue> GetFromJsonAsync<TValue>(HttpClient client, string requestUri, CancellationToken cancellationToken = …)static Task<TValue> GetFromJsonAsync<TValue>(HttpClient client, Uri requestUri, CancellationToken cancellationToken = …) |
PatchAsJsonAsync | PatchAsJsonAsync([ :client = …, :requestUri = …, :value = …, :cancellationToken = … ])PatchAsJsonAsync([ :client = …, :requestUri = …, :value = …, :options = …, :cancellationToken = … ])PatchAsJsonAsync([ :client = …, :requestUri = …, :value = …, :jsonTypeInfo = …, :cancellationToken = … ]) | static Task<HttpResponseMessage> PatchAsJsonAsync<TValue>(HttpClient client, string requestUri, TValue value, JsonSerializerOptions options = …, CancellationToken cancellationToken = …)static Task<HttpResponseMessage> PatchAsJsonAsync<TValue>(HttpClient client, Uri requestUri, TValue value, JsonSerializerOptions options = …, CancellationToken cancellationToken = …)static Task<HttpResponseMessage> PatchAsJsonAsync<TValue>(HttpClient client, string requestUri, TValue value, CancellationToken cancellationToken)static Task<HttpResponseMessage> PatchAsJsonAsync<TValue>(HttpClient client, Uri requestUri, TValue value, CancellationToken cancellationToken)static Task<HttpResponseMessage> PatchAsJsonAsync<TValue>(HttpClient client, string requestUri, TValue value, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …)static Task<HttpResponseMessage> PatchAsJsonAsync<TValue>(HttpClient client, Uri requestUri, TValue value, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …) |
PostAsJsonAsync | PostAsJsonAsync([ :client = …, :requestUri = …, :value = …, :cancellationToken = … ])PostAsJsonAsync([ :client = …, :requestUri = …, :value = …, :options = …, :cancellationToken = … ])PostAsJsonAsync([ :client = …, :requestUri = …, :value = …, :jsonTypeInfo = …, :cancellationToken = … ]) | static Task<HttpResponseMessage> PostAsJsonAsync<TValue>(HttpClient client, string requestUri, TValue value, JsonSerializerOptions options = …, CancellationToken cancellationToken = …)static Task<HttpResponseMessage> PostAsJsonAsync<TValue>(HttpClient client, Uri requestUri, TValue value, JsonSerializerOptions options = …, CancellationToken cancellationToken = …)static Task<HttpResponseMessage> PostAsJsonAsync<TValue>(HttpClient client, string requestUri, TValue value, CancellationToken cancellationToken)static Task<HttpResponseMessage> PostAsJsonAsync<TValue>(HttpClient client, Uri requestUri, TValue value, CancellationToken cancellationToken)static Task<HttpResponseMessage> PostAsJsonAsync<TValue>(HttpClient client, string requestUri, TValue value, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …)static Task<HttpResponseMessage> PostAsJsonAsync<TValue>(HttpClient client, Uri requestUri, TValue value, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …) |
PutAsJsonAsync | PutAsJsonAsync([ :client = …, :requestUri = …, :value = …, :cancellationToken = … ])PutAsJsonAsync([ :client = …, :requestUri = …, :value = …, :options = …, :cancellationToken = … ])PutAsJsonAsync([ :client = …, :requestUri = …, :value = …, :jsonTypeInfo = …, :cancellationToken = … ]) | static Task<HttpResponseMessage> PutAsJsonAsync<TValue>(HttpClient client, string requestUri, TValue value, JsonSerializerOptions options = …, CancellationToken cancellationToken = …)static Task<HttpResponseMessage> PutAsJsonAsync<TValue>(HttpClient client, Uri requestUri, TValue value, JsonSerializerOptions options = …, CancellationToken cancellationToken = …)static Task<HttpResponseMessage> PutAsJsonAsync<TValue>(HttpClient client, string requestUri, TValue value, CancellationToken cancellationToken)static Task<HttpResponseMessage> PutAsJsonAsync<TValue>(HttpClient client, Uri requestUri, TValue value, CancellationToken cancellationToken)static Task<HttpResponseMessage> PutAsJsonAsync<TValue>(HttpClient client, string requestUri, TValue value, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …)static Task<HttpResponseMessage> PutAsJsonAsync<TValue>(HttpClient client, Uri requestUri, TValue value, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …) |
HttpContentJsonExtensions class static
System.Net.Http.Json.HttpContentJsonExtensions · assembly System.Net.Http.Json
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ReadFromJsonAsAsyncEnumerable | ReadFromJsonAsAsyncEnumerable([ :content = …, :cancellationToken = … ])ReadFromJsonAsAsyncEnumerable([ :content = …, :options = …, :cancellationToken = … ])ReadFromJsonAsAsyncEnumerable([ :content = …, :jsonTypeInfo = …, :cancellationToken = … ]) | static IAsyncEnumerable<TValue> ReadFromJsonAsAsyncEnumerable<TValue>(HttpContent content, CancellationToken cancellationToken = …)static IAsyncEnumerable<TValue> ReadFromJsonAsAsyncEnumerable<TValue>(HttpContent content, JsonSerializerOptions options, CancellationToken cancellationToken = …)static IAsyncEnumerable<TValue> ReadFromJsonAsAsyncEnumerable<TValue>(HttpContent content, JsonTypeInfo<TValue> jsonTypeInfo, CancellationToken cancellationToken = …) |
ReadFromJsonAsync | ReadFromJsonAsync([ :content = …, :cancellationToken = … ])ReadFromJsonAsync([ :content = …, :type = …, :cancellationToken = … ])ReadFromJsonAsync([ :content = …, :options = …, :cancellationToken = … ])ReadFromJsonAsync([ :content = …, :jsonTypeInfo = …, :cancellationToken = … ]) | static Task<object> ReadFromJsonAsync(HttpContent content, Type type, JsonSerializerOptions options, CancellationToken cancellationToken = …)static Task<object> ReadFromJsonAsync(HttpContent content, Type type, CancellationToken cancellationToken = …)static Task<T> ReadFromJsonAsync<T>(HttpContent content, JsonSerializerOptions options, CancellationToken cancellationToken = …)static Task<T> ReadFromJsonAsync<T>(HttpContent content, CancellationToken cancellationToken = …)static Task<object> ReadFromJsonAsync(HttpContent content, Type type, JsonSerializerContext context, CancellationToken cancellationToken = …)static Task<T> ReadFromJsonAsync<T>(HttpContent content, JsonTypeInfo<T> jsonTypeInfo, CancellationToken cancellationToken = …) |
JsonContent class sealed · extends HttpContent
System.Net.Http.Json.JsonContent · assembly System.Net.Http.Json
Implements: IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ObjectType | Type | read | o.ObjectType |
Value | object | read | o.Value |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create([ :inputValue = …, :mediaType = …, :options = … ])Create([ :inputValue = …, :jsonTypeInfo = …, :mediaType = … ])Create([ :inputValue = …, :inputType = …, :mediaType = …, :options = … ]) | static JsonContent Create<T>(T inputValue, MediaTypeHeaderValue mediaType = …, JsonSerializerOptions options = …)static JsonContent Create(object inputValue, Type inputType, MediaTypeHeaderValue mediaType = …, JsonSerializerOptions options = …)static JsonContent Create<T>(T inputValue, JsonTypeInfo<T> jsonTypeInfo, MediaTypeHeaderValue mediaType = …)static JsonContent Create(object inputValue, JsonTypeInfo jsonTypeInfo, MediaTypeHeaderValue mediaType = …) |
Members of the base class are inherited.