LazyConn class abstract
LazyConn is a ReadWriteCloser adapter that lazily negotiates a protocol using multistream-select on first use.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> - Close closes the underlying stream.
-
flush(
) → Future< void> - Flush sends the handshake.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
[int? maxLength]) → Future< Uint8List> - Read reads data from the stream.
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List data) → Future< void> - Write writes data to the stream.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited