You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It supports several network I/O and control flow paradigms:
The default implementation builds upon asyncio, Python’s standard asynchronous I/O framework. It provides an elegant coroutine-based API. It’s ideal for servers that handle many clients concurrently.
The threading implementation is a good alternative for clients, especially if you aren’t familiar with asyncio. It may also be used for servers that don’t need to serve many clients.
...
Is there somewhere in the official documentation a hello-world simple server example using just threading, without asyncio?
Thanks!
The text was updated successfully, but these errors were encountered:
This doc page gives a hello-world example: https://websockets.readthedocs.io/en/stable/index.html using the
asyncio
paradigm.Is there somewhere in the official documentation a hello-world simple server example using just
threading
, withoutasyncio
?Thanks!
The text was updated successfully, but these errors were encountered: