30 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); 328var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 371var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 416var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 465var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 596var clientStream = await requestState.QuicConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 646var clientStream1 = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 674var clientStream2 = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 724var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional);
QuicConnectionListenerTests.cs (1)
129using var clientStream = await quicConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional);
QuicStreamContextTests.cs (10)
67var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 116var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 184var 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); 545var clientStream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Bidirectional); 572var 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)
178quicStream = await conn.OpenOutboundStreamAsync(QuicStreamType.Bidirectional, cancellationToken).ConfigureAwait(false); 383_clientControl = await _connection!.OpenOutboundStreamAsync(QuicStreamType.Unidirectional).ConfigureAwait(false);
System.Net.Quic (1)
System\Net\Quic\QuicConnection.cs (1)
35/// Each connection can then open outbound stream: <see cref="QuicConnection.OpenOutboundStreamAsync(QuicStreamType, CancellationToken)" />,