Type Parameters #
#ZRTT extends booleanProperties #
optional
#serverName: string | undefinedThe name used for validating the certificate provided by the server. If
not provided, defaults to hostname.
#alpnProtocols: string[]Application-Layer Protocol Negotiation (ALPN) protocols supported by the client. QUIC requires the use of ALPN.
A list of root certificates that will be used in addition to the default root certificates to verify the peer's certificate.
Must be in PEM format.
optional
#endpoint: QuicEndpointIf no endpoint is provided, a new one is bound on an ephemeral port.