Edit

Share via


QuicServerConnectionOptions Class

Definition

Options for server (inbound) Quic connections. These options are provided by ConnectionOptionsCallback.

public ref class QuicServerConnectionOptions sealed : System::Net::Quic::QuicConnectionOptions
public sealed class QuicServerConnectionOptions : System.Net.Quic.QuicConnectionOptions
type QuicServerConnectionOptions = class
    inherit QuicConnectionOptions
Public NotInheritable Class QuicServerConnectionOptions
Inherits QuicConnectionOptions
Inheritance
QuicServerConnectionOptions

Constructors

QuicServerConnectionOptions()

Initializes a new instance of the QuicServerConnectionOptions class.

Properties

DefaultCloseErrorCode

Gets or sets the error code used for CloseAsync(Int64, CancellationToken) when the connection is disposed.

(Inherited from QuicConnectionOptions)
DefaultStreamErrorCode

Gets or sets the error code used when the stream needs to abort the read or write side of the stream internally.

(Inherited from QuicConnectionOptions)
HandshakeTimeout

Gets or sets the upper bound on time when the handshake must complete. If the handshake does not complete in this time, the connection is aborted.

(Inherited from QuicConnectionOptions)
IdleTimeout

Gets or sets the idle timeout for connections. The idle timeout is the time after which the connection will be closed. Default Zero means underlying implementation default idle timeout.

(Inherited from QuicConnectionOptions)
InitialReceiveWindowSizes

Gets or sets the initial receive window sizes for the connection and individual stream types.

(Inherited from QuicConnectionOptions)
KeepAliveInterval

Gets or sets the interval at which keep-alive packets are sent on the connection.

(Inherited from QuicConnectionOptions)
MaxInboundBidirectionalStreams

Gets or sets the maximum number of concurrent bidirectional streams that the remote peer connection can create on an open connection.

(Inherited from QuicConnectionOptions)
MaxInboundUnidirectionalStreams

Gets or sets the maximum number of concurrent unidirectional streams that the remote peer connection can create on an open connection.

(Inherited from QuicConnectionOptions)
ServerAuthenticationOptions

Gets or sets the server authentication options to use when accepting a new connection.

StreamCapacityCallback

Optional callback that is invoked when new stream limit is released by the peer. Corresponds to receiving a MAX_STREAMS frame.

The callback values represent increments of stream limits, e.g.: current limit is 10 bidirectional streams, callback arguments notify 5 more additional bidirectional streams => 15 bidirectional streams can be opened in total at the moment.

The initial capacity is reported with the first invocation of the callback that might happen before the QuicConnection instance is handed out via either ConnectAsync(QuicClientConnectionOptions, CancellationToken) or AcceptConnectionAsync(CancellationToken).

(Inherited from QuicConnectionOptions)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to