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

◆ CreateContentReadStreamAsyncCore()

async ValueTask< Stream > System.Net.Http.DecompressionHandler.DecompressedContent.CreateContentReadStreamAsyncCore ( bool async,
CancellationToken cancellationToken )
inlineprivateinherited

Definition at line 73 of file DecompressionHandler.cs.

74 {
76 {
78 }
79 _contentConsumed = true;
81 if (async)
82 {
85 if (stream2 == null)
86 {
88 }
90 }
91 else
92 {
94 }
96 }
Task< Stream > ReadAsStreamAsync()
static string net_http_content_stream_already_read
Definition SR.cs:42
Definition SR.cs:7

References System.Net.Http.DecompressionHandler.DecompressedContent._contentConsumed, System.Net.Http.DecompressionHandler.DecompressedContent._originalContent, System.cancellationToken, System.Net.Http.DecompressionHandler.DecompressedContent.GetDecompressedStream(), System.SR.net_http_content_stream_already_read, System.Net.Http.HttpContent.ReadAsStream(), System.Net.Http.HttpContent.ReadAsStreamAsync(), System.stream, and System.Net.Http.HttpContent.TryReadAsStream().

Referenced by System.Net.Http.DecompressionHandler.DecompressedContent.CreateContentReadStream(), and System.Net.Http.DecompressionHandler.DecompressedContent.CreateContentReadStreamAsync().