WebTransportListenerOptions Class
The options of a WebTransportListener.
public sealed class WebTransportListenerOptionsConstructors
| Name | Description |
|---|---|
| WebTransportListenerOptions() |
WebTransportListenerOptions()
WebTransportListenerOptions.cspublic WebTransportListenerOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| CongestionControlAlgorithm | Gets or sets the congestion control algorithm of the connections. |
| IdleTimeout | Gets or sets the time without activity after which a connection is closed. TimeSpan.Zero keeps the default of MsQuic. |
| ListenEndPoint | Gets or sets the address to listen on. Port 0 picks a free port. |
| MaxIncomingStreams | Gets or sets the number of streams a client can open at the same time, of each type. The default is 100. |
| ReceivedDatagramQueueCapacity | Gets or sets the number of received datagrams kept per session until WebTransportSession.ReceiveDatagramAsync reads them. The default is 1024. |
| ServerCertificate | Gets or sets the certificate of the server, with its private key. On Linux and macOS, the private key must be exportable. |
CongestionControlAlgorithm
WebTransportListenerOptions.csGets or sets the congestion control algorithm of the connections.
public MsQuicCongestionControlAlgorithm CongestionControlAlgorithm { get; set; }Property value
IdleTimeout
WebTransportListenerOptions.csGets or sets the time without activity after which a connection is closed. TimeSpan.Zero keeps the default of MsQuic.
public TimeSpan IdleTimeout { get; set; }Property value
ListenEndPoint
WebTransportListenerOptions.csGets or sets the address to listen on. Port 0 picks a free port.
public IPEndPoint ListenEndPoint { get; set; }Property value
MaxIncomingStreams
WebTransportListenerOptions.csReceivedDatagramQueueCapacity
WebTransportListenerOptions.csGets or sets the number of received datagrams kept per session until WebTransportSession.ReceiveDatagramAsync reads them. The default is 1024.
public int ReceivedDatagramQueueCapacity { get; set; }Property value
ServerCertificate
WebTransportListenerOptions.csGets or sets the certificate of the server, with its private key. On Linux and macOS, the private key must be exportable.
public X509Certificate2? ServerCertificate { get; set; }