MCPcopy
hub / github.com/socketio/socket.io / index.js

File index.js

examples/private-messaging/server/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const httpServer = require("http").createServer();
2const Redis = require("ioredis");
3const redisClient = new Redis();
4const io = require("socket.io")(httpServer, {

Callers

nothing calls this directly

Calls 13

randomIdFunction · 0.70
emitMethod · 0.65
useMethod · 0.45
findSessionMethod · 0.45
onMethod · 0.45
saveSessionMethod · 0.45
joinMethod · 0.45
findMessagesForUserMethod · 0.45
findAllSessionsMethod · 0.45
toMethod · 0.45
saveMessageMethod · 0.45
allSocketsMethod · 0.45

Tested by

no test coverage detected