Table of Contents

Class QuicClientConnectOptions

Namespace
VpnHood.Net.Quic.Abstractions
Assembly
VpnHood.Net.Quic.Abstractions.dll

Options for establishing an outbound QUIC connection. Only the parts that vary per VpnHood connection are exposed; TLS 1.3, the ALPN token, encryption policy and error codes are fixed by the implementation.

public sealed class QuicClientConnectOptions
Inheritance
QuicClientConnectOptions
Inherited Members

Properties

CertificateValidationCallback

Gets the callback that accepts or rejects the server's certificate.

public required RemoteCertificateValidationCallback CertificateValidationCallback { get; init; }

Property Value

RemoteCertificateValidationCallback

MaxInboundBidirectionalStreams

Maximum number of bidirectional streams the remote peer may open on this connection (the QUIC initial_max_streams_bidi transport parameter). Named after System.Net.Quic.QuicConnectionOptions.MaxInboundBidirectionalStreams.

public int MaxInboundBidirectionalStreams { get; init; }

Property Value

int

RemoteEndPoint

Gets the server's address and port.

public required IPEndPoint RemoteEndPoint { get; init; }

Property Value

IPEndPoint

TargetHost

Gets the server's name, sent as the TLS server name (SNI).

public required string TargetHost { get; init; }

Property Value

string