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