Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/socketio/socket.io
/ index.js
File
index.js
examples/basic-websocket-client/test/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createServer } from
"node:http"
;
2
import
{ io as ioc } from
"../src/index.js"
;
3
import
{ WebSocket } from
"ws"
;
4
import
{ Server } from
"socket.io"
;
Callers
nothing calls this directly
Calls
11
createServer
Function · 0.85
it
Function · 0.85
listen
Method · 0.80
eql
Method · 0.80
waitFor
Function · 0.70
sleep
Function · 0.70
a
Method · 0.65
emit
Method · 0.65
close
Method · 0.45
disconnect
Method · 0.45
on
Method · 0.45
Tested by
no test coverage detected