Base:
26 references to WriteAsync
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (17)
QuicConnectionContextTests.cs (6)
103
await clientStream.
WriteAsync
(TestData);
162
await clientStream.
WriteAsync
(TestData);
204
await clientStream.
WriteAsync
(TestData);
417
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
466
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
756
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
QuicConnectionListenerTests.cs (1)
130
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
QuicStreamContextTests.cs (10)
68
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
73
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
117
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
263
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
341
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
380
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
496
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
521
var clientEx = await Assert.ThrowsAsync<QuicException>(() => clientStream.
WriteAsync
(data).AsTask()).DefaultTimeout();
546
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
573
await clientStream.
WriteAsync
(TestData).DefaultTimeout();
System.Net.Http (6)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
479
await _clientControl.
WriteAsync
(_pool.Settings.Http3SettingsFrame, CancellationToken.None).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (5)
510
await _stream.
WriteAsync
(_sendBuffer.ActiveMemory, cancellationToken).ConfigureAwait(false);
511
await _stream.
WriteAsync
(buffer, cancellationToken).ConfigureAwait(false);
520
await _stream.
WriteAsync
(buffer, cancellationToken).ConfigureAwait(false);
529
await _stream.
WriteAsync
(_sendBuffer.ActiveMemory, cancellationToken).ConfigureAwait(false);
530
await _stream.
WriteAsync
(buffer, cancellationToken).ConfigureAwait(false);
System.Net.Quic (3)
System\Net\Quic\QuicStream.cs (1)
356
/// <inheritdoc cref="
WriteAsync
(ReadOnlyMemory{byte}, CancellationToken)"/>
System\Net\Quic\QuicStream.Stream.cs (2)
187
WriteAsync
(buffer.ToArray(), cts?.Token ?? default).AsTask().GetAwaiter().GetResult();
204
return
WriteAsync
(new ReadOnlyMemory<byte>(buffer, offset, count), cancellationToken).AsTask();