MCPcopy Create free account
hub / github.com/XTLS/REALITY / QUICConfig

Struct QUICConfig

quic.go:50–59  ·  view source on GitHub ↗

A QUICConfig configures a [QUICConn].

Source from the content-addressed store, hash-verified

48
49// A QUICConfig configures a [QUICConn].
50type QUICConfig struct {
51 TLSConfig *Config
52
53 // EnableSessionEvents may be set to true to enable the
54 // [QUICStoreSession] and [QUICResumeSession] events for client connections.
55 // When this event is enabled, sessions are not automatically
56 // stored in the client session cache.
57 // The application should use [QUICConn.StoreSession] to store sessions.
58 EnableSessionEvents bool
59}
60
61// A QUICEventKind is a type of operation on a QUIC connection.
62type QUICEventKind int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected