TcpConn class

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

Constructors

TcpConn({void setNoDelay([bool?])?, void setKeepAlive([bool?])?, Object? localAddr, Object? remoteAddr, num? rid, ReadableStream<Uint8List>? readable, WritableStream<Uint8List>? writable, Future<void> closeWrite()?, void ref()?, void unref()?})
factory

Properties

close ↔ void Function()

Available on Closer, provided by the Closer$Typings extension

getter/setter pair
closeWrite Future<void> Function()

Available on Conn, provided by the Conn$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
localAddr Object

Available on Conn, provided by the Conn$Typings extension

The local address of the connection.
no setter
read Future<num?> Function(Uint8List)

Available on Reader, provided by the Reader$Typings extension

getter/setter pair
readable ReadableStream<Uint8List>

Available on Conn, provided by the Conn$Typings extension

no setter
ref ↔ void Function()

Available on Conn, provided by the Conn$Typings extension

getter/setter pair
remoteAddr Object

Available on Conn, provided by the Conn$Typings extension

The remote address of the connection.
no setter
rid num

Available on Conn, provided by the Conn$Typings extension

The resource ID of the connection.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setKeepAlive ↔ void Function([bool?])

Available on TcpConn, provided by the TcpConn$Typings extension

getter/setter pair
setNoDelay ↔ void Function([bool?])

Available on TcpConn, provided by the TcpConn$Typings extension

getter/setter pair
unref ↔ void Function()

Available on Conn, provided by the Conn$Typings extension

getter/setter pair
writable WritableStream<Uint8List>

Available on Conn, provided by the Conn$Typings extension

no setter
write Future<num> Function(Uint8List)

Available on Writer, provided by the Writer$Typings extension

getter/setter pair

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