Home > doofinder > Client > (constructor)
Client.(constructor)
Constructor.
Signature:
constructor({ server, secret, headers }?: Partial<ClientOptions>);
Parameters
| Parameter | Type | Description |
|---|---|---|
| { server, secret, headers } | Partial<ClientOptions> |
Remarks
At least a search server is required. If none provided via the server or the secret options, the default 'eu1-search.doofinder.com' will be used.