Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async def connect(self):
"""Establishes a WebSocket connection using authentication."""
host = self.WS_BASE_URL + self.url_suffix
auth_headers = self.request_headers("GET", self.url_suffix)
async with websockets.connect(host, additional_headers=auth_headers) as websocket:
async with websockets.connect(host, extra_headers=auth_headers) as websocket:
self.ws = websocket
await self.on_open()
await self.handler()
Expand Down