Chris Rhodes
|
7858f999b1
Handle nil errors and default handler properly.
|
9 years ago |
Bruce Marriner
|
348d9482d0
Removed unneeded blank line :)
|
9 years ago |
Bruce Marriner
|
1a0e4c05fa
Call user callback for VOICE_STATE_UPDATE events, closes #101
|
9 years ago |
Chris Rhodes
|
40b969d7c3
VoiceServerUpdate and VoiceStateUpdate
|
9 years ago |
Bruce Marriner
|
edc09778a7
Linting.
|
9 years ago |
Bruce Marriner
|
546cd85303
error strings should not end with punctuation.
|
9 years ago |
Bruce Marriner
|
6bb417af7a
Removed unreachable (and unneeded) code x3!
|
9 years ago |
Bruce Marriner
|
5ae93327e3
Removed unreachable (and unneeded) code.
|
9 years ago |
Bruce Marriner
|
457d27b35e
Removed unreachable (and unneeded) code.
|
9 years ago |
Chris Rhodes
|
fd32614a63
Make compression optional, clean up some comments and unused fields.
|
9 years ago |
Chris Rhodes
|
5a3740df0c
:poop:
|
9 years ago |
Chris Rhodes
|
a08dde4262
Support zlib compression.
|
9 years ago |
Chris Rhodes
|
25a1b2ea48
Close.
|
9 years ago |
Chris Rhodes
|
e94e14e9d2
Support ShouldReconnectOnError with exponential backoff up to 10 minutes.
|
9 years ago |
Chris Rhodes
|
ddddfa3644
Prevent heartbeat from sending on nil websocket.
|
9 years ago |
Chris Rhodes
|
d6d6c749ea
Prevent listen from reading from nulled out web socket.
|
9 years ago |
Chris Rhodes
|
8b39278c3e
Get rid of Listen.
|
9 years ago |
Chris Rhodes
|
e8d8f03214
Clean up ready timing, fix potential race with starting heartbeats.
|
9 years ago |
Chris Rhodes
|
c4869d7a43
Remove handshake.
|
9 years ago |
Chris Rhodes
|
2a9538e9f1
I must stop doing last minute changes.
|
9 years ago |
Chris Rhodes
|
7a9b9428ee
Re-add old todo.
|
9 years ago |
Chris Rhodes
|
cd55a59ff9
Refactor open/close logic. Support OnConnect and OnDisconnect.
|
9 years ago |
Chris Rhodes
|
6b73b588ba
Message tracking.
|
9 years ago |
Chris Rhodes
|
0f38b22ca1
Message state tracking.
|
9 years ago |
Chris Rhodes
|
fce9a7dedc
Make unmarshal methods not on the struct, that was stupid.
|
9 years ago |
Chris Rhodes
|
3acc68d3ef
Fix wsapi
|
9 years ago |
Chris Rhodes
|
f15b389ac8
Return a consistent JSON Unmarshal error.
|
9 years ago |
Bruce Marriner
|
6274ab9053
Hackish fix so we don't try to close nil or closed channels.
|
9 years ago |
Bruce Marriner
|
093d3be770
More improvements to voice support
|
9 years ago |
Bruce Marriner
|
9583ef4e19
Return immediately if err getting gateway.
|
9 years ago |