Just in case anyone is interested on secure webSockets I have a rough implementation on GitHub (wss.js) based on the examples in this thread and the current ws module. It works with my server, but I would like to make some more testing and try to do the server part before asking for a pull request.
By the way, I used a new module, wss.js, instead of modifying the current ws.js file since SSL/TLS is not available on all Espruino boards. But I can accept sugestions.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Just in case anyone is interested on secure webSockets I have a rough implementation on GitHub (wss.js) based on the examples in this thread and the current ws module. It works with my server, but I would like to make some more testing and try to do the server part before asking for a pull request.
By the way, I used a new module, wss.js, instead of modifying the current ws.js file since SSL/TLS is not available on all Espruino boards. But I can accept sugestions.