Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ client.js
File
client.js
examples/es-modules/client.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Manager } from
"socket.io-client"
;
2
3
const
manager =
new
Manager(
"ws://localhost:8080"
);
4
const
socket = manager.socket(
"/"
);
Callers
nothing calls this directly
Calls
3
emit
Method · 0.65
socket
Method · 0.45
on
Method · 0.45
Tested by
no test coverage detected