createSocket method

Future<SecureSocket> createSocket(
  1. String host,
  2. String port,
  3. SecureSocketConfig socketConfig, {
  4. Duration? timeout,
})

Implementation

Future<SecureSocket> createSocket(
    String host, String port, SecureSocketConfig socketConfig,
    {Duration? timeout}) async {
  return await SecureSocketUtil.createSecureSocket(host, port, socketConfig,
      timeout: timeout);
}