Skip to content

Initializer

init(establishedChannel:username:password:database:)

Create a SQLPostgresConfiguration for establishing a connection to a server over a preestablished NIOCore.Channel.
init(establishedChannel: any Channel, username: String, password: String? = nil, database: String? = nil)

Discussion

This is provided for calling code which wants to manage the underlying connection transport on its own, such as when tunneling a connection through SSH.