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

◆ GetFromJsonAsync() [2/6]

static Task< object?> System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync ( this HttpClient client,
string? requestUri,
Type type,
JsonSerializerContext context,
CancellationToken cancellationToken = default(CancellationToken) )
inlinestatic

Definition at line 56 of file HttpClientJsonExtensions.cs.

57 {
58 if (client == null)
59 {
60 throw new ArgumentNullException("client");
61 }
64 }
static async Task< object > GetFromJsonAsyncCore(Task< HttpResponseMessage > taskResponse, Type type, JsonSerializerOptions options, CancellationToken cancellationToken)

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