Rapptz
1fba1b06fa
Rewrite HTTP handling significantly.
This should have a more uniform approach to rate limit handling. Instead
of queueing every request, wait until we receive a 429 and then block
the requesting bucket until we're done being rate limited. This should
reduce the number of 429s done by the API significantly (about 66% avg).
This also consistently checks for 502 retries across all requests.
9 years ago
Jake
41a2b5ed73
Actually read from the voice websocket & fix heartbeat.
This change makes it so that the buffer doesn't fill and the voice server drops the socket.
Also, use correct interval for voice websocket heartbeat.
9 years ago
Rapptz
f6fa1e837a
Actually use v4 gateway and fixes thanks to Jake.
9 years ago
Rapptz
8638ff4414
Update voice client main ws references when reconnecting.
9 years ago
Rapptz
e0a91df32b
Add RESUME support.
9 years ago
Rapptz
e66b2dce88
Rename threading internal variable conflict.
9 years ago
Rapptz
0c8d5ee863
Force encoding of text retrieval functions to use utf-8.
Closes #207
9 years ago
Rapptz
3feba5d1bb
Add Game.type and Game.url attributes to change streaming status.
9 years ago
Rapptz
701720a0f8
Add a TimeoutError if VoiceClient.connect fails.
9 years ago
Rapptz
570ccbf753
Suppress ConnectionClosed on sending in the main websocket.
9 years ago
Rapptz
d9c780b8a8
Working multi-server voice support.
10 years ago
Rapptz
c1b5a52823
Refactor voice websocket into gateway.py
10 years ago
Rapptz
1c623ccf11
Begin working on gateway v4 support.
Bump websockets requirement to v3.1
Should be squashed...
10 years ago