corda / net.corda.core.utilities / NetworkHostAndPort / <init>

<init>

NetworkHostAndPort(host: String, port: Int)

Tuple of host and port. Use NetworkHostAndPort.parse on untrusted data.

Parameters

host - a hostname or IP address. IPv6 addresses must not be enclosed in square brackets.

port - a valid port number.