Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ index.js
File
index.js
examples/express-session-example/cjs/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
express = require(
"express"
);
2
const
{ createServer } = require(
"node:http"
);
3
const
{ join } = require(
"node:path"
);
4
const
{ Server } = require(
"socket.io"
);
Callers
nothing calls this directly
Calls
14
createServer
Function · 0.85
sendFile
Method · 0.80
listen
Method · 0.80
emit
Method · 0.65
cb
Function · 0.50
use
Method · 0.45
end
Method · 0.45
to
Method · 0.45
destroy
Method · 0.45
disconnectSockets
Method · 0.45
on
Method · 0.45
join
Method · 0.45
Tested by
no test coverage detected