16 references to WriteAsync
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicStreamContext.cs (2)
406
await _stream.
WriteAsync
(buffer.First, completeWrites: isCompleted);
420
await _stream.
WriteAsync
(currentSegment, completeWrites: isLastSegment && isCompleted);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (9)
QuicConnectionContextTests.cs (5)
329
await clientStream.
WriteAsync
(TestData, completeWrites: true).DefaultTimeout();
372
await clientStream.
WriteAsync
(TestData, completeWrites: true).DefaultTimeout();
607
await clientStream.
WriteAsync
(TestData, completeWrites: true).DefaultTimeout();
678
await clientStream1.
WriteAsync
(TestData, completeWrites: true).DefaultTimeout();
706
await clientStream2.
WriteAsync
(TestData, completeWrites: true).DefaultTimeout();
QuicStreamContextTests.cs (3)
185
await clientStream.
WriteAsync
(TestData, completeWrites: true).DefaultTimeout();
307
await clientStream.
WriteAsync
(TestData, completeWrites: true).DefaultTimeout();
388
await clientStream.
WriteAsync
(TestData, completeWrites: true).DefaultTimeout();
QuicTestHelpers.cs (1)
149
await clientStream.
WriteAsync
(TestData, completeWrites: true).DefaultTimeout();
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
540
return _stream.
WriteAsync
(toSend, endStream, cancellationToken);
System.Net.Quic (4)
System\Net\Quic\QuicStream.cs (4)
34
/// <term><see cref="
WriteAsync
(System.ReadOnlyMemory{byte},bool,System.Threading.CancellationToken)"/></term>
151
/// or <see cref="
WriteAsync
(System.ReadOnlyMemory{byte},bool,System.Threading.CancellationToken)"/> with <c>completeWrites: true</c> and getting acknowledgement from the peer for it,
353
=>
WriteAsync
(buffer, completeWrites: false, cancellationToken);
506
/// Equivalent to using <see cref="
WriteAsync
(System.ReadOnlyMemory{byte},bool,System.Threading.CancellationToken)"/> with <c>completeWrites: true</c>.