ErrSession is returned by Send/Recv methods when the underlying session state change is responsible for the failure.
| 35 | // the underlying session state change is responsible |
| 36 | // for the failure. |
| 37 | type ErrSession struct { |
| 38 | Type config.Transport |
| 39 | State sockjs.SessionState // session state |
| 40 | Err error // more detailed description of the problem |
| 41 | } |
| 42 | |
| 43 | var stateTexts = map[sockjs.SessionState]string{ |
| 44 | sockjs.SessionActive: "session is active", |
nothing calls this directly
no outgoing calls
no test coverage detected