2 overrides of DrainAsync
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (1)
468public override async ValueTask<bool> DrainAsync(int maxDrainBytes)
System\Net\Http\SocketsHttpHandler\ContentLengthReadStream.cs (1)
195public override async ValueTask<bool> DrainAsync(int maxDrainBytes)
2 references to DrainAsync
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
2086if (!await responseStream.DrainAsync(_pool.Settings._maxResponseDrainSize).ConfigureAwait(false) ||
System\Net\Http\SocketsHttpHandler\HttpContentReadStream.cs (1)
78bool drained = await DrainAsync(connection._pool.Settings._maxResponseDrainSize).ConfigureAwait(false);