ConnectTlsOptions constructor

ConnectTlsOptions({
  1. num? port,
  2. String? hostname,
  3. String? certFile,
  4. List<String>? caCerts,
  5. List<String>? alpnProtocols,
})

Implementation

factory ConnectTlsOptions({
  _i2.num? port,
  _i2.String? hostname,
  _i2.String? certFile,
  _i2.List<_i2.String>? caCerts,
  _i2.List<_i2.String>? alpnProtocols,
}) =>
    ConnectTlsOptions._(
      port: port,
      hostname: hostname,
      certFile: certFile,
      caCerts: caCerts,
      alpnProtocols: alpnProtocols,
    );