I've started this project recently - so I may make breaking changes between releases, please check the README for each release for the latest documentation.
npm install express.oi
Then, simply replace this line of code
with this line of code
Your app should run just the same as before! express.oi is designed to be a superset of express and socket.io.
Setting up the app
var express = ;var app = ;// Pass in your express-session configurationappio;app;app;
var messages = ;appio;
Forwarding express routes
Regular express routes can be forwarded to express.oi routes
More API Examples
// express.oi routesappio;