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

Method String

quic.go:24–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22)
23
24func (l QUICEncryptionLevel) String() string {
25 switch l {
26 case QUICEncryptionLevelInitial:
27 return "Initial"
28 case QUICEncryptionLevelEarly:
29 return "Early"
30 case QUICEncryptionLevelHandshake:
31 return "Handshake"
32 case QUICEncryptionLevelApplication:
33 return "Application"
34 default:
35 return fmt.Sprintf("QUICEncryptionLevel(%v)", int(l))
36 }
37}
38
39// A QUICConn represents a connection which uses a QUIC implementation as the underlying
40// transport as described in RFC 9001.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected