Sails.js with native WebSockets
node.js, sails.js, socket.io, websocket
Solution
I implemented WebSockets support for Sails.js as a custom hook: https://github.com/provectus/sails-userhooks-ws
Problem
I want to make public WebSocket API with sails.js. So I'd like to use native WebSockets instead of the built-in socket.io but with Sails.js controllers and models. Is it possible? Maybe I can implement custom transport or something else. Thanks for any help.