ערוך

שתף באמצעות


QuicClientConnectionOptions Class

Definition

Options for client (outbound) Quic connections.

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

Constructors

QuicClientConnectionOptions()

Initializes a new instance of the QuicClientConnectionOptions class.

Properties

ClientAuthenticationOptions

Gets or sets the client authentication options to use when establishing a new connection.

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)
LocalEndPoint

Gets or sets the optional local endpoint that will be bound to.

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)
RemoteEndPoint

Gets or sets the remote endpoint to connect to. May be a DnsEndPoint, which will get resolved to an IP before connecting, or an IPEndPoint.

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