Quantcast
Channel: In node.js do I need http when building a socket.io/express app? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by KAKAN for In node.js do I need http when building a socket.io/express app?

$
0
0

no, you probably don't need it.You can use something like:

var app = require('express').createServer();var io = require('socket.io')(app);

//Your express and socket.io code goes here:


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>