ClientSessionCache

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.crypto.tls
  • Platforms: .NET, .NET Standard 2.0, Island

Required Methods


Get

 

method Get(sessionKey: string): tuple of (session: Memory<ClientSessionState>, ok: Boolean)

 

(Memory<ClientSessionState>session, Boolean ok) Get(string sessionKey)

 

func Get(_ sessionKey: string) -> tuple of (Memory<ClientSessionState>, Boolean)

 

func Get(sessionKey string) tuple of (|name=session| Memory<ClientSessionState>, |name=ok| Boolean)

 

Function Get(sessionKey As string) As Tuple (Of Memory<ClientSessionState>, Boolean)

Parameters:

  • sessionKey:

Put

 

method Put(sessionKey: string; cs: Memory<ClientSessionState>)

 

void Put(string sessionKey, Memory<ClientSessionState> cs)

 

func Put(_ sessionKey: string, _ cs: Memory<ClientSessionState>)

 

// .NET, .NET Standard 2.0
func Put(sessionKey string, cs Memory<ClientSessionState>) 
// Island
func Put(sessionKey string, cs Memory<ClientSessionState>) void

 

Sub Put(sessionKey As string, cs As Memory<ClientSessionState>)

Parameters:

  • sessionKey:
  • cs: