How to use the attach function from http
Find comprehensive JavaScript http.attach code examples handpicked from public code repositorys.
GitHub: skbeyagu/socket.io
166 167 168 169 170 171 172 173 174
- `httpServer` _(http.Server)_ the server to attach to - `options` _(Object)_ Attaches the `Server` to an engine.io instance on `httpServer` with the supplied `options` (optionally). ### server.attach(port[, options]) - `port` _(Number)_ the port to listen on - `options` _(Object)_
0
0
2
+ 3 other calls in file
http.createServer is the most popular function in http (322 examples)