add

fun add(host: String, port: Int)(source)

Adds a trusted server to the registry

// Add a trusted server
TrustedServers.add('my.server.com', 80);

Parameters

host

The host to be added.

port

The port used to access the host.

See also