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

Method setState

sockjsclient/sockjsclient.go:283–287  ·  view source on GitHub ↗
(state sockjs.SessionState)

Source from the content-addressed store, hash-verified

281}
282
283func (w *WebsocketSession) setState(state sockjs.SessionState) {
284 w.mu.Lock()
285 w.state = state
286 w.mu.Unlock()
287}
288
289// GetSessionState gives state of the session.
290func (w *WebsocketSession) GetSessionState() sockjs.SessionState {

Callers 1

RecvMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected