Skip to main content

getConnections

method Server.prototype.getConnections
Jump to headingServer.prototype.getConnections(cb: (
error: Error | null,
count: number,
) => void
): void

Asynchronously get the number of concurrent connections on the server. Works when sockets were sent to forks.

Callback should take two arguments err and count.

Parameters Jump to heading

Jump to headingcb: (
error: Error | null,
count: number,
) => void

Return Type Jump to heading

void
Back to top