BaseWebSocket class Null safety

Constructors

BaseWebSocket(String url, {Duration ping = const Duration(seconds: 5), bool allowSelfSigned = true})

Properties

allowSelfSigned bool
read / write
connectionStatus ConnectionStatus?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isDisposed bool
read / write
ping Duration
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
socket WebSocket?
read / write
socketNotifier SocketNotifier?
read / write
url String
read / write

Methods

close([int? status, String? reason]) → void
connect() → void
dispose() → void
emit(String event, dynamic data) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
on(String event, MessageSocket message) → void
onClose(CloseSocket fn) → void
onError(CloseSocket fn) → void
onMessage(MessageSocket fn) → void
onOpen(OpenSocket fn) → void
send(dynamic data) → void
toString() String
A string representation of this object. [...]
inherited

Operators

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