MCPcopy Create free account
hub / github.com/koding/kite / GetSessionState

Method GetSessionState

sockjsclient/sockjsclient.go:290–295  ·  view source on GitHub ↗

GetSessionState gives state of the session.

()

Source from the content-addressed store, hash-verified

288
289// GetSessionState gives state of the session.
290func (w *WebsocketSession) GetSessionState() sockjs.SessionState {
291 w.mu.Lock()
292 defer w.mu.Unlock()
293
294 return w.state
295}
296
297// Request implements the sockjs.Session interface.
298func (w *WebsocketSession) Request() *http.Request {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected