16 references to GetAsTask
Microsoft.AspNetCore.Server.Kestrel.Core (16)
Internal\Http\Http1Connection.cs (1)
874
return _context.Transport.Output.FlushAsync().
GetAsTask
();
Internal\Http\Http1OutputProducer.cs (1)
103
return WriteAsync(buffer, cancellationToken).
GetAsTask
();
Internal\Http\HttpProtocol.cs (2)
1670
return FlushPipeAsync(cancellationToken).
GetAsTask
();
1682
return WritePipeAsync(data, cancellationToken).
GetAsTask
();
Internal\Http\HttpResponseStream.cs (2)
61
return _pipeWriter.FlushAsync(cancellationToken).
GetAsTask
();
94
return _pipeWriter.WriteAsync(new ReadOnlyMemory<byte>(buffer, offset, count), cancellationToken).
GetAsTask
();
Internal\Http2\Http2Connection.cs (2)
1051
return ackTask.
GetAsTask
();
1094
return _frameWriter.WritePingAsync(Http2PingFrameFlags.ACK, payload).
GetAsTask
();
Internal\Http2\Http2MessageBody.cs (1)
52
return continueTask.
GetAsTask
();
Internal\Http2\Http2OutputProducer.cs (1)
412
var task = _flusher.FlushAsync(this, cancellationToken).
GetAsTask
();
Internal\Http3\Http3FrameWriter.cs (2)
127
return _outputWriter.FlushAsync().
GetAsTask
();
157
return _outputWriter.FlushAsync().
GetAsTask
();
Internal\Http3\Http3OutputProducer.cs (1)
349
return _flusher.FlushAsync(this, cancellationToken).
GetAsTask
();
Internal\Http3\Http3Stream.cs (1)
917
return RequestBodyPipe.Writer.FlushAsync().
GetAsTask
();
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (2)
98
return _output.WriteAsync(buffer.AsMemory(offset, count), cancellationToken).
GetAsTask
();
113
return _output.FlushAsync(cancellationToken).
GetAsTask
();