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

◆ SerializeToStreamAsync() [2/2]

override Task System.Net.Http.MultipartContent.SerializeToStreamAsync ( Stream stream,
TransportContext? context,
CancellationToken cancellationToken )
inlineprotectedvirtual

Reimplemented from System.Net.Http.HttpContent.

Reimplemented in System.Net.Http.MultipartFormDataContent.

Definition at line 384 of file MultipartContent.cs.

385 {
386 if (!(GetType() == typeof(MultipartContent)))
387 {
388 return base.SerializeToStreamAsync(stream, context, cancellationToken);
389 }
391 }
async Task SerializeToStreamAsyncCore(Stream stream, TransportContext context, CancellationToken cancellationToken)

References System.cancellationToken, System.Net.Http.MultipartContent.SerializeToStreamAsyncCore(), and System.stream.