MCPcopy
hub / github.com/XTLS/REALITY / QUICClient

Function QUICClient

quic.go:175–177  ·  view source on GitHub ↗

QUICClient returns a new TLS client side connection using QUICTransport as the underlying transport. The config cannot be nil. The config's MinVersion must be at least TLS 1.3.

(config *QUICConfig)

Source from the content-addressed store, hash-verified

173//
174// The config's MinVersion must be at least TLS 1.3.
175func QUICClient(config *QUICConfig) *QUICConn {
176 return newQUICConn(Client(nil, config.TLSConfig), config)
177}
178
179// QUICServer returns a new TLS server side connection using QUICTransport as the
180// underlying transport. The config cannot be nil.

Callers

nothing calls this directly

Calls 2

newQUICConnFunction · 0.85
ClientFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…