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

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

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

Definition at line 86 of file HttpClientJsonExtensions.cs.

87 {
88 if (client == null)
89 {
90 throw new ArgumentNullException("client");
91 }
94 }
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().