SecureSocketTransportFactory class

Opens SecureSocketTransports, carrying the TLS settings they are opened with.

The config lives here rather than on the transport because it is an input to connecting and means nothing to an open channel.

Implemented types

Constructors

SecureSocketTransportFactory({required SecureSocketConfig secureSocketConfig})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secureSocketConfig → SecureSocketConfig
final

Methods

connect(String host, String port, {Duration? timeout}) → Future<AtTransport>
Both a refused connection (SocketException) and a failed or rejected handshake (TlsException) surface as SecondaryConnectException; the cause is kept in the message. The caller supplies whose atServer this was.
override
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