MCPcopy Index your code
hub / github.com/socketio/socket.io / eioPoll

Function eioPoll

test/support/util.ts:124–134  ·  view source on GitHub ↗
(httpServer, sid)

Source from the content-addressed store, hash-verified

122}
123
124export function eioPoll(httpServer, sid): Promise<string> {
125 return new Promise((resolve) => {
126 request(httpServer)
127 .get("/socket.io/")
128 .query({ transport: "polling", EIO: 4, sid })
129 .expect(200)
130 .end((err, res) => {
131 resolve(res.text);
132 });
133 });
134}

Callers 3

close.tsFile · 0.90
initFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected