1 instantiation of QuicListener
System.Net.Quic (1)
System\Net\Quic\QuicListener.cs (1)
61QuicListener listener = new QuicListener(options);
22 references to QuicListener
IIS.FunctionalTests (2)
src\Shared\TransportTestHelpers\HttpSysHttp3SupportedAttribute.cs (1)
15public bool IsMet => QuicListener.IsSupported && IsRegKeySet;
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (1)
13public bool IsMet => QuicListener.IsSupported;
Interop.FunctionalTests (1)
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (1)
13public bool IsMet => QuicListener.IsSupported;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
src\Shared\TransportTestHelpers\HttpSysHttp3SupportedAttribute.cs (1)
15public bool IsMet => QuicListener.IsSupported && IsRegKeySet;
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (1)
13public bool IsMet => QuicListener.IsSupported;
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Internal\QuicConnectionListener.cs (3)
30private QuicListener? _listener; 38if (!QuicListener.IsSupported) 126_listener = await QuicListener.ListenAsync(_quicListenerOptions);
WebHostBuilderQuicExtensions.cs (1)
23if (QuicListener.IsSupported)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (1)
13public bool IsMet => QuicListener.IsSupported;
WebHostTests.cs (1)
37Assert.True(QuicListener.IsSupported, "QuicListener.IsSupported should be true.");
System.Net.Quic (11)
System\Net\Quic\QuicConnection.cs (1)
35/// <see cref="QuicConnection" /> can either be accepted from <see cref="QuicListener.AcceptConnectionAsync(CancellationToken)" /> (inbound connection),
System\Net\Quic\QuicConnectionOptions.cs (1)
146/// <see cref="QuicConnection.ConnectAsync(QuicClientConnectionOptions, CancellationToken)"/> or <see cref="QuicListener.AcceptConnectionAsync(CancellationToken)"/>.
System\Net\Quic\QuicError.cs (1)
7/// Defines the various error conditions for <see cref="QuicListener"/>, <see cref="QuicConnection"/> and <see cref="QuicStream"/> operations.
System\Net\Quic\QuicListener.cs (7)
25/// <see cref="QuicListener" /> allows accepting multiple <see cref="QuicConnection" />. 28/// Unlike the connection and stream, <see cref="QuicListener" /> lifetime is not linked to any of the accepted connections. 46/// Creates a new <see cref="QuicListener"/> and starts listening for new connections. 51public static ValueTask<QuicListener> ListenAsync(QuicListenerOptions options, CancellationToken cancellationToken = default) 61QuicListener listener = new QuicListener(options); 116/// Initializes and starts a new instance of a <see cref="QuicListener" />. 374if (!stateHandle.IsAllocated || stateHandle.Target is not QuicListener instance)
System\Net\Quic\QuicListenerOptions.cs (1)
13/// Options to provide to the <see cref="QuicListener"/>.