Skip to main content

Interface: ClientPlugin

Experimental

Plugin to control the configuration of a native connection.

Plugins is an experimental feature; APIs may change without notice.

Accessors​

name​

Get Signature​

get name(): string

Experimental

Gets the name of this plugin.

Returns​

string

Methods​

configureClient()?​

optional configureClient(options): Omit<ClientOptions, "plugins">

Experimental

Hook called when creating a client to allow modification of configuration.

This method is called during client creation and allows plugins to modify the client configuration before the client is fully initialized.

Parameters​

options​

Omit<ClientOptions, "plugins">

Returns​

Omit<ClientOptions, "plugins">