ConnectMeSocket class
Constructors
- ConnectMeSocket.tcp(Socket? tcpSocket)
- ConnectMeSocket.ws(WebSocket? webSocket, [HttpRequest? httpRequest])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpRequest → HttpRequest?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → int
-
no setter
- 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 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