ProtocolConnection.withEncryptionMethodAndHostnameAndPort constructor

ProtocolConnection.withEncryptionMethodAndHostnameAndPort(
  1. String encryptionMethod,
  2. String hostname,
  3. int port
)
Initializes a new instance of the The encryption method. The hostname. The port number to use for the portocol.

Implementation

ProtocolConnection.withEncryptionMethodAndHostnameAndPort(
  String encryptionMethod,
  String hostname,
  int port,
) {
  _encryptionMethod = encryptionMethod;
  _hostname = hostname;
  _port = port;
}