WebSocket class

Implemented types

Constructors

WebSocket({required String hostName, required int port, required String endpoint})

Properties

channel ↔ WebSocketChannel?
getter/setter pair
endpoint String
final
hashCode int
The hash code for this object.
no setterinherited
hostName String
final
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
override
init() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(String data) → void
override
subscribe(String destination, dynamic onData(String json), {dynamic onDone()?, dynamic onError(Object error)?}) → void
override
toString() String
A string representation of this object.
inherited

Operators

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