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

File server.js

examples/postgres-adapter-example/server.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Server } from "socket.io";
2import { createAdapter } from "@socket.io/postgres-adapter";
3import pg from "pg";
4import process from "node:process";

Callers

nothing calls this directly

Calls 4

createAdapterFunction · 0.85
listenMethod · 0.80
emitMethod · 0.65
onMethod · 0.45

Tested by

no test coverage detected