Skip to content

Use start_server() with websocket? #9158

Discussion options

You must be logged in to vote

I have an example here: https://github.com/marcidy/micropython-uasyncio-websockets with examples of use here: https://github.com/marcidy/micropython-uasyncio-webexample.

websockets.server.serve uses uasyncio.start_server. You'll need the protocol to be asyncio compatible as well, which that repo provides.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@quintesse
Comment options

Answer selected by jimmo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants