mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Type-hint gateway
This commit is contained in:
1 parent
f5e087c5c3
commit
c8064ba6f2
3 files changed
+190
-117
No files matched your search
+1
-1
@@ -341,7 +341,7 @@ class HTTPClient:
|
||||
connector=self.connector, ws_response_class=DiscordClientWebSocketResponse
|
||||
)
|
||||
|
||||
async def ws_connect(self, url: str, *, compress: int = 0) -> Any:
|
||||
async def ws_connect(self, url: str, *, compress: int = 0) -> aiohttp.ClientWebSocketResponse:
|
||||
kwargs = {
|
||||
'proxy_auth': self.proxy_auth,
|
||||
'proxy': self.proxy,
|
||||
|
||||
Reference in new issue
Block a user