Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ index.js
File
index.js
examples/cluster-haproxy/server/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Setup basic express server
2
var
express = require(
'express'
);
3
var
app = express();
4
var
server = require(
'http'
).createServer(app);
Callers
nothing calls this directly
Calls
5
adapter
Method · 0.80
listen
Method · 0.80
emit
Method · 0.65
use
Method · 0.45
on
Method · 0.45
Tested by
no test coverage detected