aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2015-09-29 08:47:37 +0200
committerHornwitser <[email protected]>2015-10-06 19:09:09 +0200
commit5e671a0d0ddcba46581aea5bd9d8bb887498036d (patch)
tree4d2a5234e40f2e1847532dacd5a943e79929dbbb /docs
parentAdd new event system (diff)
downloaddiscord.py-5e671a0d0ddcba46581aea5bd9d8bb887498036d.tar.xz
discord.py-5e671a0d0ddcba46581aea5bd9d8bb887498036d.zip
Move socket and connection state out of Client
Move the socket message handling and Discord connection state tracking out of the Client class. The WebSocket class handles the ws4py based WebSocket to Discord, maintains the keepalive and dispatches socket_<events> based on activity. The ConnectionSTate class maintains the state associated with the WebSocket connection with Discord. In a reconnect and switch gateway scenario this state can be kept for a faster and less disruptive recovery.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions