discordaio.websocket
¶
Classes¶
DiscordWebsocket
: Class used for handling the websocket connection with the discord gateway
-
class
discordaio.websocket.
DiscordWebsocket
(http: discordaio.http.HTTPHandler = None, session_id: str = None, shards: list = [])[source]¶ Class used for handling the websocket connection with the discord gateway
New in version 0.2.0.
-
http
¶ HTTPHandler
– Used for sending http requests and session handling.
-
ws (
class:aiohttp.ClientWebSocketResponse``): The websocket
Inheritance
-