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

Function QUICServer

quic.go:183–186  ·  view source on GitHub ↗

QUICServer returns a new TLS server 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

181//
182// The config's MinVersion must be at least TLS 1.3.
183func QUICServer(config *QUICConfig) *QUICConn {
184 c, _ := Server(context.Background(), nil, config.TLSConfig)
185 return newQUICConn(c, config)
186}
187
188func newQUICConn(conn *Conn, config *QUICConfig) *QUICConn {
189 conn.quic = &quicState{

Callers

nothing calls this directly

Calls 2

ServerFunction · 0.85
newQUICConnFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…