server.getConnections(callback)


新增于: v0.9.7

异步获取服务器上的并发连接数。当套接字被发送到复刻时工作。

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

回调应该采用两个参数 errcount

\Callback should take two arguments err and count.

AltStyle によって変換されたページ (->オリジナル) /