GetSessionState gives state of the session.
()
| 288 | |
| 289 | // GetSessionState gives state of the session. |
| 290 | func (w *WebsocketSession) GetSessionState() sockjs.SessionState { |
| 291 | w.mu.Lock() |
| 292 | defer w.mu.Unlock() |
| 293 | |
| 294 | return w.state |
| 295 | } |
| 296 | |
| 297 | // Request implements the sockjs.Session interface. |
| 298 | func (w *WebsocketSession) Request() *http.Request { |
nothing calls this directly
no outgoing calls
no test coverage detected