ConnectMeSocket class Null safety

Constructors

ConnectMeSocket.tcp(Socket? tcpSocket)
ConnectMeSocket.ws(WebSocket? webSocket, [HttpRequest? httpRequest])

Properties

hashCode int
The hash code for this object.
read-onlyinherited
httpRequest HttpRequest?
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
state int
read-only
tcpSocket Socket?
final
type ConnectMeType
final
webSocket WebSocket?
final

Methods

add(dynamic data) → void
close() Future<void>
listen(dynamic onData(dynamic), {Function? onError, dynamic onDone()?}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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