Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Http.Json.HttpContentJsonExtensions Class Reference

Static Public Member Functions

static Task< object?> ReadFromJsonAsync (this HttpContent content, Type type, JsonSerializerOptions? options=null, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< T?> ReadFromJsonAsync< T > (this HttpContent content, JsonSerializerOptions? options=null, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< object?> ReadFromJsonAsync (this HttpContent content, Type type, JsonSerializerContext context, CancellationToken cancellationToken=default(CancellationToken))
 
static Task< T?> ReadFromJsonAsync< T > (this HttpContent content, JsonTypeInfo< T > jsonTypeInfo, CancellationToken cancellationToken=default(CancellationToken))
 

Static Private Member Functions

static async Task< object > ReadFromJsonAsyncCore (HttpContent content, Type type, Encoding sourceEncoding, JsonSerializerOptions options, CancellationToken cancellationToken)
 
static async Task< TReadFromJsonAsyncCore< T > (HttpContent content, Encoding sourceEncoding, JsonSerializerOptions options, CancellationToken cancellationToken)
 
static ValueTask< TValue > DeserializeAsyncHelper< TValue > (Stream contentStream, JsonSerializerOptions options, CancellationToken cancellationToken)
 
static async Task< object > ReadFromJsonAsyncCore (HttpContent content, Type type, Encoding sourceEncoding, JsonSerializerContext context, CancellationToken cancellationToken)
 
static async Task< TReadFromJsonAsyncCore< T > (HttpContent content, Encoding sourceEncoding, JsonTypeInfo< T > jsonTypeInfo, CancellationToken cancellationToken)
 
static async Task< StreamGetContentStream (HttpContent content, Encoding sourceEncoding, CancellationToken cancellationToken)
 
static Task< StreamReadHttpContentStreamAsync (HttpContent content, CancellationToken cancellationToken)
 
static Stream GetTranscodingStream (Stream contentStream, Encoding sourceEncoding)
 

Detailed Description

Definition at line 12 of file HttpContentJsonExtensions.cs.


The documentation for this class was generated from the following file: