Browse Source

Update asyncio_client.py

Same diff for asyncio version
pull/1056/head
Tarquin Winot 3 years ago
committed by GitHub
parent
commit
19e4437ad1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/socketio/asyncio_client.py

6
src/socketio/asyncio_client.py

@ -122,6 +122,8 @@ class AsyncClient(client.Client):
self.connection_transports = transports
self.connection_namespaces = namespaces
self.socketio_path = socketio_path
self.wait = wait
self.wait_timeout = wait_timeout
if namespaces is None:
namespaces = list(set(self.handlers.keys()).union(
@ -479,7 +481,9 @@ class AsyncClient(client.Client):
auth=self.connection_auth,
transports=self.connection_transports,
namespaces=self.connection_namespaces,
socketio_path=self.socketio_path)
socketio_path=self.socketio_path,
wait=self.wait,
wait_timeout = self.wait_timeout)
except (exceptions.ConnectionError, ValueError):
pass
else:

Loading…
Cancel
Save