Support for Websockets in Edge

Have tried to add support in a Edge driver for Websocket (client) using GitHub - lipp/lua-websockets: Websockets for Lua., that is written in pure Lua, without success.

Has anyone been able to add Websockets support in Edge?

1 Like

FYI, I have now managed to add support for lua-websockets in Edge. The main problem was actually a known bug regarding the implementation of PING/PONG in the module.
To make it work with the Edge event loop, I also had to adapt the code to cosock socket and cosock ssl (wss).

Adapted code here: GitHub - Goran58/lua-websockets: Websockets for Lua.

4 Likes