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

◆ SerializeToStreamAsync() [2/2]

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

Reimplemented from System.Net.Http.ByteArrayContent.

Definition at line 44 of file StringContent.cs.

45 {
46 if (!(GetType() == typeof(StringContent)))
47 {
48 return base.SerializeToStreamAsync(stream, context, cancellationToken);
49 }
51 }
Task SerializeToStreamAsyncCore(Stream stream, CancellationToken cancellationToken)

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