Skip to main content

Interface: ConnectionPlugin

client.ConnectionPlugin

Plugin to control the configuration of a connection.

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

Implemented by

Accessors

name

get name(): string

Gets the name of this plugin.

Returns

string

Methods

configureConnection

configureConnection(options): ConnectionOptions

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

Parameters

NameType
optionsConnectionOptions

Returns

ConnectionOptions