Connection.this

Construct opened connection.

After the connection is created, and the initial invitation is received from the server client preferences can be set, and authentication can then be attempted.

Parameters

openSocket OpenSocketCallbackPhobos

Optional callback which should return a newly-opened Phobos or Vibe.d TCP socket. This allows custom sockets to be used, subclassed from Phobos's or Vibe.d's sockets.

host string

An IP address in numeric dotted form, or as a host name.

user string

The user name to authenticate.

db string

Desired initial database.

capFlags SvrCapFlags

The set of flag bits from the server's capabilities that the client requires

Meta