Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ index.js
File
index.js
examples/cluster-nginx/server/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
express = require(
'express'
);
2
const
app = express();
3
const
server = require(
'http'
).createServer(app);
4
const
io = require(
'socket.io'
)(server);
Callers
nothing calls this directly
Calls
7
createClient
Function · 0.85
createAdapter
Function · 0.85
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