Put adds the ClientSessionState to the cache with the given key. It might get called multiple times in a connection if a TLS 1.3 server provides more than one session ticket. If called with a nil *ClientSessionState, it should remove the cache entry.
(sessionKey string, cs *ClientSessionState)
| 380 | // more than one session ticket. If called with a nil *ClientSessionState, |
| 381 | // it should remove the cache entry. |
| 382 | Put(sessionKey string, cs *ClientSessionState) |
| 383 | } |
| 384 | |
| 385 | //go:generate stringer -linecomment -type=SignatureScheme,CurveID,ClientAuthType -output=common_string.go |
no outgoing calls
no test coverage detected