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)

 

// .NET, .NET Standard 2.0
(Memory<ClientSessionState>session, Boolean ok) Get(string sessionKey)
// Island
(Memory<ClientSessionState>session, Boolean ok) Get(string sessionKey)

 

func Get(_ sessionKey: string) -> (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

 

// .NET, .NET Standard 2.0
method Put(sessionKey: string; cs: Memory<ClientSessionState>)
// Island
method Put(sessionKey: string; cs: Memory<ClientSessionState>)

 

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

 

// .NET, .NET Standard 2.0
func Put(_ sessionKey: string, _ cs: Memory<ClientSessionState>)
// Island
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

 

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

Parameters:

  • sessionKey:
  • cs: