Missing module for websocket-demo.py
SouperMan3 opened this issue · 3 comments
SouperMan3 commented
where might I find find the module "websocket_helper"
BetaRavener commented
Seems like the module was removed in micropython 1.20, you can either use older version of micropython or get the file here: https://github.com/micropython/micropython/blob/v1.19/extmod/webrepl/websocket_helper.py
BetaRavener commented
The code in 1.20 moved to extmod/webrepl/webrepl.py
(see PR), you could also import that instead.
zavaruev commented
The code in [websocket_helper.py]
https://github.com/micropython/micropython/blob/v1.19/extmod/webrepl/websocket_helper.py) and extmod/webrepl/webrepl.py is not the same. May be it`s better just add server_handshake definition to ws_server.py?