TinyBase logoTinyBase

WsServerStats

The WsServerStats type describes the number of paths and clients that are active on the WsServer.

{
  paths: number;
  clients: number;
}
TypeDescription
pathsnumber

The number of paths currently being served by the WsServer.

clientsnumber

The number of clients currently being served by the WsServer.

A WsServerStats object is returned from the getStats method.

Since

v5.0.0