31 references to OpenOutboundStreamAsync
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (3)
Internal\QuicConnectionContext.cs (3)
219quicStream = await _connection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional, cancellationToken); 223quicStream = await _connection.OpenOutboundStreamAsync(QuicStreamType.Unidirectional, cancellationToken); 228quicStream = await _connection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional, cancellationToken);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (24)
QuicConnectionContextTests.cs (12)
69() => clientConnection.OpenOutboundStreamAsync(QuicStreamType.Unidirectional).AsTask(), 102await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 161await using var clientStream = await quicConnection.OpenOutboundStreamAsync(QuicStreamType.Unidirectional); 203await using var clientStream = await quicConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 328await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 371await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 416await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 465await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 605await using var clientStream = await requestState.QuicConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 677await using var clientStream1 = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 705await using var clientStream2 = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 755await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional);
QuicConnectionListenerTests.cs (1)
129await using var clientStream = await quicConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional);
QuicStreamContextTests.cs (10)
67await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 116await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 184await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 262await using var clientStream = await quicConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 306await using var clientStream = await quicConnection.OpenOutboundStreamAsync(QuicStreamType.Unidirectional); 340await using var clientStream = await quicConnection.OpenOutboundStreamAsync(QuicStreamType.Unidirectional); 379await using var clientStream = await quicConnection.OpenOutboundStreamAsync(QuicStreamType.Unidirectional); 495await using var clientStream = await quicConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 545await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 572await using var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional);
QuicTestHelpers.cs (1)
146var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional);
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (2)
257quicStream = await conn.OpenOutboundStreamAsync(QuicStreamType.Bidirectional, cancellationToken).ConfigureAwait(false); 468_clientControl = await _connection!.OpenOutboundStreamAsync(QuicStreamType.Unidirectional).ConfigureAwait(false);
System.Net.Quic (2)
System\Net\Quic\QuicConnection.cs (2)
38/// Each connection can then open outbound stream: <see cref="QuicConnection.OpenOutboundStreamAsync(QuicStreamType, CancellationToken)" />, 192/// Optimization to avoid `Action` instantiation with every <see cref="OpenOutboundStreamAsync(QuicStreamType, CancellationToken)"/>.