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

Struct XHRSession

sockjsclient/xhr.go:31–42  ·  view source on GitHub ↗

XHRSession implements sockjs.Session with XHR transport.

Source from the content-addressed store, hash-verified

29
30// XHRSession implements sockjs.Session with XHR transport.
31type XHRSession struct {
32 mu sync.Mutex
33
34 client *http.Client
35 timeout time.Duration
36 sessionURL string
37 sessionID string
38 messages []string
39 abort chan struct{}
40 req *http.Request
41 state sockjs.SessionState
42}
43
44var _ sockjs.Session = (*XHRSession)(nil)
45

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected