So I’m making a f2p game for russian social network (vk.com) and it’s demanding a secured connection. Since I can’t communicate with JS through Defold (and I need it to enable payments via VK JS API) I’ve figured I can use websockets to tie together server, vk and Defold. The problem is that the only viable websocket example I’ve found (https://github.com/britzl/defnet) doesn’t support wss protocol
I know there are wss solutions in Lua out there, but I’m pretty new to this language and it’s package system so I have no idea how to integrate it into Defold’s environment. Could someone please give me some guidance?
Or maybe there is a way to do this without websockets or constantly spamming http requests?