async websocket client

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
ltmerlin
Posts: 5
Joined: Fri Jun 28, 2019 12:34 pm

async websocket client

Post by ltmerlin » Mon Jul 15, 2019 7:04 pm

Does anyone have a good reference to start with for implementing an async websocket client on the ESP32? I already looked at https://github.com/danni/uwebsockets but that is still a "blocking" socket, not using uasyncio...

I also had a look at https://github.com/jczic/MicroWebSrv but this has only a websocket server implementation (a very good one, using threads). The official micropython-lib has the famous "uasyncio.websocket.server" https://github.com/micropython/micropyt ... ket.server which is used for the web REPL, but again no official asynchronous websockets client module...
Any async specialist that has implemented this before or any beginner tips?

Post Reply