1 instantiation of QuicListener
System.Net.Quic (1)
System\Net\Quic\QuicListener.cs (1)
63
QuicListener listener = new
QuicListener
(options);
15 references to QuicListener
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Internal\QuicConnectionListener.cs (3)
30
private
QuicListener
? _listener;
38
if (!
QuicListener
.IsSupported)
126
_listener = await
QuicListener
.ListenAsync(_quicListenerOptions);
WebHostBuilderQuicExtensions.cs (1)
23
if (
QuicListener
.IsSupported)
System.Net.Quic (11)
System\Net\Quic\QuicConnection.cs (1)
36
/// <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)
27
/// <see cref="
QuicListener
" /> allows accepting multiple <see cref="QuicConnection" />.
30
/// Unlike the connection and stream, <see cref="
QuicListener
" /> lifetime is not linked to any of the accepted connections.
48
/// Creates a new <see cref="
QuicListener
"/> and starts listening for new connections.
53
public static ValueTask<
QuicListener
> ListenAsync(QuicListenerOptions options, CancellationToken cancellationToken = default)
63
QuicListener
listener = new QuicListener(options);
118
/// Initializes and starts a new instance of a <see cref="
QuicListener
" />.
376
if (!stateHandle.IsAllocated || stateHandle.Target is not
QuicListener
instance)
System\Net\Quic\QuicListenerOptions.cs (1)
13
/// Options to provide to the <see cref="
QuicListener
"/>.