31 references to OpenOutboundStreamAsync
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (3)
Internal\QuicConnectionContext.cs (3)
219
quicStream = await _connection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional, cancellationToken);
223
quicStream = await _connection.
OpenOutboundStreamAsync
(QuicStreamType.Unidirectional, cancellationToken);
228
quicStream = await _connection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional, cancellationToken);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (24)
QuicConnectionContextTests.cs (12)
69
() => clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Unidirectional).AsTask(),
102
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
161
await using var clientStream = await quicConnection.
OpenOutboundStreamAsync
(QuicStreamType.Unidirectional);
203
await using var clientStream = await quicConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
328
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
371
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
416
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
465
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
605
await using var clientStream = await requestState.QuicConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
677
await using var clientStream1 = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
705
await using var clientStream2 = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
755
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
QuicConnectionListenerTests.cs (1)
129
await using var clientStream = await quicConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
QuicStreamContextTests.cs (10)
67
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
116
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
184
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
262
await using var clientStream = await quicConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
306
await using var clientStream = await quicConnection.
OpenOutboundStreamAsync
(QuicStreamType.Unidirectional);
340
await using var clientStream = await quicConnection.
OpenOutboundStreamAsync
(QuicStreamType.Unidirectional);
379
await using var clientStream = await quicConnection.
OpenOutboundStreamAsync
(QuicStreamType.Unidirectional);
495
await using var clientStream = await quicConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
545
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
572
await using var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
QuicTestHelpers.cs (1)
146
var clientStream = await clientConnection.
OpenOutboundStreamAsync
(QuicStreamType.Bidirectional);
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (2)
257
quicStream = 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)"/>.