ConnectTlsOptions class

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

ConnectTlsOptions.new({num? port, String? hostname, String? certFile, List<String>? caCerts, List<String>? alpnProtocols})
factory

Properties

alpnProtocols List<String>?

Available on ConnectTlsOptions, provided by the ConnectTlsOptions$Typings extension

Application-Layer Protocol Negotiation (ALPN) protocols supported by the client. If not specified, no ALPN extension will be included in the TLS handshake.
getter/setter pair
caCerts List<String>?

Available on ConnectTlsOptions, provided by the ConnectTlsOptions$Typings extension

A list of root certificates that will be used in addition to the default root certificates to verify the peer's certificate.
getter/setter pair
certFile String?

Available on ConnectTlsOptions, provided by the ConnectTlsOptions$Typings extension

Server certificate file.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hostname String?

Available on ConnectTlsOptions, provided by the ConnectTlsOptions$Typings extension

A literal IP address or host name that can be resolved to an IP address.
getter/setter pair
port num

Available on ConnectTlsOptions, provided by the ConnectTlsOptions$Typings extension

The port to connect to.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited