Skip to content

Conversation

@renehorstmann
Copy link

Updated the starting of the websockets async server, so that the call to serve is also async.
The (newer?) websockets version does not expect a path as argument for the serve function, so that was removed as well.

I also encountered the bug of a not merged pull request (Windows 11 path starting with a '/' like "/C:/Users/...") so I updated this as well.

Updated WebSocket server implementation to use `asyncio.server.serve` for better encapsulation and async handling. Adjusted URL decoding logic to correct path parsing. Modified the `start_servers` call in examples to include a stop condition for improved flexibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant