ClientSessionCache

Overview

Location

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

Required Methods


Get

 

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

 

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

 

func Get(_ sessionKey: string) -> (session:Reference<ClientSessionState>, ok:Boolean)

 

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

Parameters:

  • sessionKey:

Put

 

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

 

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

 

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

 

func Put(sessionKey string, cs Reference<ClientSessionState>)

Parameters:

  • sessionKey:
  • cs: