Skip to main content

Interface: ConnectionPlugin

Experimental

Plugin to control the configuration of a 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​

configureConnection()?​

optional configureConnection(options): ConnectionOptions

Experimental

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

Parameters​

options​

ConnectionOptions

Returns​

ConnectionOptions