diff --git a/socketio/asyncio_client.py b/socketio/asyncio_client.py index 8489e35..eb20faf 100644 --- a/socketio/asyncio_client.py +++ b/socketio/asyncio_client.py @@ -382,6 +382,7 @@ class AsyncClient(client.Client): await self.connect(self.connection_url, headers=self.connection_headers, transports=self.connection_transports, + namespaces=self.connection_namespaces, socketio_path=self.socketio_path) except (exceptions.ConnectionError, ValueError): pass diff --git a/socketio/client.py b/socketio/client.py index 2e2f242..b8cf1b9 100644 --- a/socketio/client.py +++ b/socketio/client.py @@ -477,6 +477,7 @@ class Client(object): self.connect(self.connection_url, headers=self.connection_headers, transports=self.connection_transports, + namespaces=self.connection_namespaces, socketio_path=self.socketio_path) except (exceptions.ConnectionError, ValueError): pass