Home > doofinder > ClientPool > getClient

ClientPool.getClient() method

Get a client for the given server with the shared options.

Signature:

static getClient(server: string): Client;

Parameters

Parameter Type Description
server string A valid search server.

Returns:

Client

An instance of Client.