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