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

Struct WebsocketSession

sockjsclient/sockjsclient.go:74–83  ·  view source on GitHub ↗

WebsocketSession represents a sockjs.Session over a websocket connection.

Source from the content-addressed store, hash-verified

72// WebsocketSession represents a sockjs.Session over
73// a websocket connection.
74type WebsocketSession struct {
75 id string
76 messages []string
77 closed int32
78 req *http.Request
79
80 mu sync.Mutex
81 conn *websocket.Conn
82 state sockjs.SessionState
83}
84
85var _ sockjs.Session = (*WebsocketSession)(nil)
86

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected