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

Method setState

sockjsclient/xhr.go:157–161  ·  view source on GitHub ↗
(state sockjs.SessionState)

Source from the content-addressed store, hash-verified

155}
156
157func (x *XHRSession) setState(state sockjs.SessionState) {
158 x.mu.Lock()
159 x.state = state
160 x.mu.Unlock()
161}
162
163// GetSessionState gives state of the session.
164func (x *XHRSession) GetSessionState() sockjs.SessionState {

Callers 2

handleRespMethod · 0.95
CloseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected