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

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

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

Definition at line 199 of file HttpClientJsonExtensions.cs.

200 {
201 if (client == null)
202 {
203 throw new ArgumentNullException("client");
204 }
206 return client.PostAsync(requestUri, content, cancellationToken);
207 }

References System.cancellationToken, System.Text.Json.Dictionary, and System.value.