StartTlsOptions class

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

Constructors

StartTlsOptions({String? hostname, List<String>? caCerts, List<String>? alpnProtocols})
factory

Properties

alpnProtocols List<String>?

Available on StartTlsOptions, provided by the StartTlsOptions$Typings extension

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

Available on StartTlsOptions, provided by the StartTlsOptions$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
hashCode int
The hash code for this object.
no setterinherited
hostname String?

Available on StartTlsOptions, provided by the StartTlsOptions$Typings extension

A literal IP address or host name that can be resolved to an IP address.
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