ConnectionInfo

Result of the parse and tryParse functions, containing the parsed connection information.

Members

Functions

defaultPort
ushort defaultPort()

Default port for the specified security protocol. 6697 for TLS/SSL, and 6667 otherwise.

port
ushort port()

Server port.

Variables

address
string address;

Server address.

channelKey
string channelKey;

Key/passphrase to use when joining channels. Is null when unspecified.

channels
string[] channels;

Channels to join immediately after a successful connect. Can be empty.

explicitPort
ushort explicitPort;

Explicitly specified server port, or 0 when unspecified.

secure
bool secure;

Security protocol. Is true for TLS/SSL, and false for no security.

Meta