Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetFromJsonAsync< TValue >() [3/6]

static Task< TValue?> System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync< TValue > ( this HttpClient client,
string? requestUri,
JsonTypeInfo< TValue > jsonTypeInfo,
CancellationToken cancellationToken = default(CancellationToken) )
inlinestatic

Definition at line 76 of file HttpClientJsonExtensions.cs.

77 {
78 if (client == null)
79 {
80 throw new ArgumentNullException("client");
81 }
84 }
static async Task< object > GetFromJsonAsyncCore(Task< HttpResponseMessage > taskResponse, Type type, JsonSerializerOptions options, CancellationToken cancellationToken)

References System.cancellationToken, System.Text.Json.Dictionary, and System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsyncCore().