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

File entrypoint.js

examples/pm2-example/entrypoint.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { readFileSync } from "node:fs";
2import { createServer } from "node:http";
3import { Server } from "socket.io";
4import { createAdapter } from "@socket.io/cluster-adapter";

Callers

nothing calls this directly

Calls 8

createAdapterFunction · 0.90
createServerFunction · 0.85
emitMethod · 0.65
writeHeadMethod · 0.45
writeMethod · 0.45
endMethod · 0.45
onMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected