WebSocketService class abstract

abstract class for websocket service

Implementers

Constructors

WebSocketService.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
onClose ↔ dynamic Function(int code, String reason)?
getter/setter pair
onMessage ↔ dynamic Function(dynamic msg)?
getter/setter pair
onOpen ↔ dynamic Function()?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
connect() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(dynamic data) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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