Home > doofinder > ClientPool > getStatsClient
ClientPool.getStatsClient() method
Get a stats client for the given server with the shared options.
Signature:
static getStatsClient(server: string): StatsClient;
Parameters
Parameter | Type | Description |
---|---|---|
server | string | A valid search server. |
Returns:
An instance of StatsClient
.