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

◆ GetFromJsonAsync() [6/6]

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

Definition at line 24 of file HttpClientJsonExtensions.cs.

25 {
26 if (client == null)
27 {
28 throw new ArgumentNullException("client");
29 }
32 }
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(), System.options, and System.type.