温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/quic/SessionOptions
点击访问原文链接

Node quic.SessionOptions TypeScript interface | API Reference | Bun

Node quic.SessionOptions TypeScript interface | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/node:quic/SessionOptionsPalpnPcaPccPcertsPciphersPcrlPendpointPgroupsPhandshakeTimeoutPkeylogPkeysPmaxPayloadSizePmaxStreamWindowPmaxWindowPminVersionPpreferredAddressPolicyPqlogPsessionTicketPsniPtlsTracePtransportParamsPunacknowledgedPacketThresholdPverifyClientPverifyPrivateKeyPversion

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:quic/SessionOptionsPalpnPcaPccPcertsPciphersPcrlPendpointPgroupsPhandshakeTimeoutPkeylogPkeysPmaxPayloadSizePmaxStreamWindowPmaxWindowPminVersionPpreferredAddressPolicyPqlogPsessionTicketPsniPtlsTracePtransportParamsPunacknowledgedPacketThresholdPverifyClientPverifyPrivateKeyPversion

interface

quic.SessionOptionsinterface SessionOptionsalpn?: stringThe ALPN protocol identifier.

ca?: ArrayBuffer | ArrayBufferViewArrayBufferLike> | readonly unknown[]The CA certificates to use for sessions.

cc?: 'reno' | 'cubic' | 'bbr'Specifies the congestion control algorithm that will be used. Must be set to one of either 'reno', 'cubic', or 'bbr'.

This is an advanced option that users typically won't have need to specify.

certs?: ArrayBuffer | ArrayBufferViewArrayBufferLike> | readonly unknown[]The TLS certificates to use for sessions.

ciphers?: stringThe list of supported TLS 1.3 cipher algorithms.

crl?: ArrayBuffer | ArrayBufferViewArrayBufferLike> | readonly unknown[]The CRL to use for sessions.

endpoint?: QuicEndpoint | EndpointOptionsAn endpoint to use.

groups?: stringThe list of support TLS 1.3 cipher groups.

handshakeTimeout?: number | bigintSpecifies the maximum number of milliseconds a TLS handshake is permitted to take to complete before timing out.

keylog?: booleanTrue to enable TLS keylogging output.

keys?: KeyObject | CryptoKey | readonly KeyObject | CryptoKey[]The TLS crypto keys to use for sessions.

maxPayloadSize?: number | bigintSpecifies the maximum UDP packet payload size.

maxStreamWindow?: number | bigintSpecifies the maximum stream flow-control window size.

maxWindow?: number | bigintSpecifies the maximum session flow-control window size.

minVersion?: numberThe minimum QUIC version number to allow. This is an advanced option that users typically won't have need to specify.

preferredAddressPolicy?: 'ignore' | 'default' | 'use'When the remote peer advertises a preferred address, this option specifies whether to use it or ignore it.

qlog?: booleanTrue if qlog output should be enabled.

sessionTicket?: ArrayBufferViewArrayBufferLike>A session ticket to use for 0RTT session resumption.

sni?: stringThe peer server name to target.

tlsTrace?: booleanTrue to enable TLS tracing output.

transportParams?: TransportParamsThe QUIC transport parameters to use for the session.

unacknowledgedPacketThreshold?: number | bigintSpecifies the maximum number of unacknowledged packets a session should allow.

verifyClient?: booleanTrue to require verification of TLS client certificate.

verifyPrivateKey?: booleanTrue to require private key verification.

version?: numberThe QUIC version number to use. This is an advanced option that users typically won't have need to specify.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco

We're hiring →

智能索引记录