![]() ![]() The documentation – and it is excellent – for setting up a local client + server is already available in the 'ws' repository however, I found that figuring out a production-level/cloud VM setup required collating multiple guides. The simplest way to get real-time chat up and running was to use a Node package called 'ws' to set up a websocket-server (written in Javascript, of course), and then write a client in any language we wish to (in our case, Dart). Given the current state of the world, supporting features such as collaborative editing and real-time chat became almost essential to TunePad's long term success.Īll modern browsers support websockets and a lot of progress has been made since the time socket.io was the only option. The purpose of this guide is to help someone setup a secure websocket server on any Ubuntu VM (AWS/Linode/Digital Ocean/Azure etc.).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |