Node.js module
node:quic
Functions 2
- quic.connect()
Initiate a new client-side session.
- quic.listen()
Configures the endpoint to listen as a server.
Classes 4
- class quic.QuicEndpoint
A
QuicEndpointencapsulates the local UDP-port binding for QUIC. - class quic.QuicError
A
QuicErroris anErrorsubclass that carries an explicit numeric - class quic.QuicSession
A
QuicSessionrepresents the local side of a QUIC connection. - class quic.QuicStream
Interfaces 14
- interface ApplicationOptions
- interface CreateStreamOptions
- interface EndpointOptions
The endpoint configuration options passed when constructing a new
QuicEndpointinstance. - interface QuicErrorOptions
- interface SessionDestroyOptions
- interface SessionHandshakeInfo
- interface SessionOptions
- interface SessionPath
- interface SetSNIContextsOptions
- interface SNIEntry
- interface StreamDestroyOptions
- interface StreamPriority
- interface StreamSendHeadersOptions
- interface TransportParams
Types 18
- type OnBlockedCallback
- type OnDatagramCallback
- type OnDatagramStatusCallback
- type OnHandshakeCallback
- type OnHeadersCallback
Called when initial request or response headers are received.
- type OnInfoCallback
Called when informational (1xx) headers are received from the server (e.g., 103 Early Hints).
- type OnKeylogCallback
Called when TLS key material is available.
- type OnNewTokenCallback
- type OnOriginCallback
- type OnPathValidationCallback
- type OnQlogCallback
Called when qlog diagnostic data is available.
- type OnSessionCallback
- type OnSessionTicketCallback
- type OnStreamCallback
- type OnStreamErrorCallback
- type OnTrailersCallback
Called when trailing headers are received from the peer.
- type OnVersionNegotiationCallback
- type StreamBody
Namespaces 4
- namespace quic.constants
An object containing commonly used constants for QUIC configuration.
- namespace quic.QuicEndpoint
- namespace quic.QuicSession
- namespace quic.QuicStream