Added VoiceReady, DataReady, and UDPReady flags to Session struct
This commit is contained in:
parent
e384d2d66f
commit
c77f7f3ff8
1 changed files with 7 additions and 4 deletions
|
@ -27,6 +27,9 @@ type Session struct {
|
|||
Debug bool // Debug for printing JSON request/responses
|
||||
Cache int // number in X to cache some responses
|
||||
SessionID string // from websocket READY packet
|
||||
DataReady bool // Set to true when Data Websocket is ready
|
||||
VoiceReady bool // Set to true when Voice Websocket is ready
|
||||
UDPReady bool // Set to true when UDP Connection is ready
|
||||
|
||||
// Settable Callback functions for Websocket Events
|
||||
OnEvent func(*Session, Event) // should Event be *Event?
|
||||
|
|
Loading…
Reference in a new issue