/low-level-sockets

How do I work directly with `sails.sockets`?

Primary LanguageJavaScript

low-level-sockets

a Sails application

  1. Clone this repo
  2. Run sails lift
  3. Visit http://localhost:1337
  4. Check out the code in api/controllers/SocketController.js and views/homepage.ejs

Note that the interactive tutorial isn't completely finished yet-- it would take some more angular finangling to allow the various different parameters for different methods to be accepted. But in the mean time, the relevant code works, and so I wanted to go ahead and publish this so folks can use it for reference. ~mike