TkfWebsocket class

Constructors

TkfWebsocket()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connectToChannels({required Map<String, dynamic Function(List<Object?>? arg)> channels, required Map<String, List<Object>> invokes}) → void
disconnectFromChannels({required List<String> topics}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setup({required Map<String, dynamic Function(List<Object?>? arg)> onFunctions, required dynamic endpoint, dynamic runLogger = false, required Function getAuthToken, dynamic onClose({Exception? error})?, dynamic onReconnected({String? connectionId})?, dynamic onReconnecting({Exception? error})?, required Map<String, List<Object>> invokes}) Future<void>
start() Future<void>
stop() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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