WebSocketChannel class
Constructors
- WebSocketChannel(Socket socket, {bool mask = false})
Properties
- handshaked ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mask ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socket → Socket
-
final
Methods
-
close(
{CloseCode code = CloseCode.normal, String message = ''}) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
OpCode code, Uint8List data) → void -
sendText(
String text) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited