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

◆ SerializeToStream() [1/2]

override void System.Net.Http.HttpConnectionResponseContent.SerializeToStream ( Stream stream,
TransportContext context,
CancellationToken cancellationToken )
inlineprotected

Definition at line 30 of file HttpConnectionResponseContent.cs.

31 {
32 if (stream == null)
33 {
34 throw new ArgumentNullException("stream");
35 }
36 using Stream stream2 = ConsumeStream();
37 stream2.CopyTo(stream, 8192);
38 }

References System.Net.Http.HttpConnectionResponseContent.ConsumeStream(), and System.stream.