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

Method Get

common.go:376–376  ·  view source on GitHub ↗

Get searches for a ClientSessionState associated with the given key. On return, ok is true if one was found.

(sessionKey string)

Source from the content-addressed store, hash-verified

374 // Get searches for a ClientSessionState associated with the given key.
375 // On return, ok is true if one was found.
376 Get(sessionKey string) (session *ClientSessionState, ok bool)
377
378 // Put adds the ClientSessionState to the cache with the given key. It might
379 // get called multiple times in a connection if a TLS 1.3 server provides

Callers 2

writeRecordLockedMethod · 0.65
loadSessionMethod · 0.65

Implementers 1

Calls

no outgoing calls

Tested by

no test coverage detected