(state sockjs.SessionState)
| 155 | } |
| 156 | |
| 157 | func (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. |
| 164 | func (x *XHRSession) GetSessionState() sockjs.SessionState { |
no outgoing calls
no test coverage detected