Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Http.Json.HttpClientJsonExtensions Class Reference

Static Public Member Functions

static Task< object?> GetFromJsonAsync (this HttpClient client, string? requestUri, Type type, JsonSerializerOptions? options, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< object?> GetFromJsonAsync (this HttpClient client, Uri? requestUri, Type type, JsonSerializerOptions? options, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< TValue?> GetFromJsonAsync< TValue > (this HttpClient client, string? requestUri, JsonSerializerOptions? options, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< TValue?> GetFromJsonAsync< TValue > (this HttpClient client, Uri? requestUri, JsonSerializerOptions? options, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< object?> GetFromJsonAsync (this HttpClient client, string? requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< object?> GetFromJsonAsync (this HttpClient client, Uri? requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< TValue?> GetFromJsonAsync< TValue > (this HttpClient client, string? requestUri, JsonTypeInfo< TValue > jsonTypeInfo, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< TValue?> GetFromJsonAsync< TValue > (this HttpClient client, Uri? requestUri, JsonTypeInfo< TValue > jsonTypeInfo, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< object?> GetFromJsonAsync (this HttpClient client, string? requestUri, Type type, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< object?> GetFromJsonAsync (this HttpClient client, Uri? requestUri, Type type, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< TValue?> GetFromJsonAsync< TValue > (this HttpClient client, string? requestUri, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< TValue?> GetFromJsonAsync< TValue > (this HttpClient client, Uri? requestUri, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< HttpResponseMessagePostAsJsonAsync< TValue > (this HttpClient client, string? requestUri, TValue value, JsonSerializerOptions? options=null, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< HttpResponseMessagePostAsJsonAsync< TValue > (this HttpClient client, Uri? requestUri, TValue value, JsonSerializerOptions? options=null, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< HttpResponseMessagePostAsJsonAsync< TValue > (this HttpClient client, string? requestUri, TValue value, CancellationToken cancellationToken)
 
static Task< HttpResponseMessagePostAsJsonAsync< TValue > (this HttpClient client, Uri? requestUri, TValue value, CancellationToken cancellationToken)
 
static Task< HttpResponseMessagePostAsJsonAsync< TValue > (this HttpClient client, string? requestUri, TValue value, JsonTypeInfo< TValue > jsonTypeInfo, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< HttpResponseMessagePostAsJsonAsync< TValue > (this HttpClient client, Uri? requestUri, TValue value, JsonTypeInfo< TValue > jsonTypeInfo, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< HttpResponseMessagePutAsJsonAsync< TValue > (this HttpClient client, string? requestUri, TValue value, JsonSerializerOptions? options=null, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< HttpResponseMessagePutAsJsonAsync< TValue > (this HttpClient client, Uri? requestUri, TValue value, JsonSerializerOptions? options=null, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< HttpResponseMessagePutAsJsonAsync< TValue > (this HttpClient client, string? requestUri, TValue value, CancellationToken cancellationToken)
 
static Task< HttpResponseMessagePutAsJsonAsync< TValue > (this HttpClient client, Uri? requestUri, TValue value, CancellationToken cancellationToken)
 
static Task< HttpResponseMessagePutAsJsonAsync< TValue > (this HttpClient client, string? requestUri, TValue value, JsonTypeInfo< TValue > jsonTypeInfo, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< HttpResponseMessagePutAsJsonAsync< TValue > (this HttpClient client, Uri? requestUri, TValue value, JsonTypeInfo< TValue > jsonTypeInfo, CancellationToken cancellationToken=default(CancellationToken))
 

Static Private Member Functions

static async Task< object > GetFromJsonAsyncCore (Task< HttpResponseMessage > taskResponse, Type type, JsonSerializerOptions options, CancellationToken cancellationToken)
 
static async Task< TGetFromJsonAsyncCore< T > (Task< HttpResponseMessage > taskResponse, JsonSerializerOptions options, CancellationToken cancellationToken)
 
static Task< TReadFromJsonAsyncHelper< T > (HttpContent content, JsonSerializerOptions options, CancellationToken cancellationToken)
 
static async Task< object > GetFromJsonAsyncCore (Task< HttpResponseMessage > taskResponse, Type type, JsonSerializerContext context, CancellationToken cancellationToken)
 
static async Task< TGetFromJsonAsyncCore< T > (Task< HttpResponseMessage > taskResponse, JsonTypeInfo< T > jsonTypeInfo, CancellationToken cancellationToken)
 

Detailed Description

Definition at line 10 of file HttpClientJsonExtensions.cs.


The documentation for this class was generated from the following file: