diff --git a/src/socketio/asyncio_client.py b/src/socketio/asyncio_client.py index 3c700ee..23fe2ab 100644 --- a/src/socketio/asyncio_client.py +++ b/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: