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

Method GetSessionState

sockjsclient/xhr.go:164–169  ·  view source on GitHub ↗

GetSessionState gives state of the session.

()

Source from the content-addressed store, hash-verified

162
163// GetSessionState gives state of the session.
164func (x *XHRSession) GetSessionState() sockjs.SessionState {
165 x.mu.Lock()
166 defer x.mu.Unlock()
167
168 return x.state
169}
170
171// Request implements the sockjs.Session interface.
172func (x *XHRSession) Request() *http.Request {

Callers 1

isClosedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected