Methods
-
addListener(String eventName, Function callback, {bool once = false})
→ void
-
inherited
-
clientDisconnected()
→ void
-
Called when the client's connection is closed
-
clientNetworkError([dynamic error])
→ void
-
Called when the client's connection is closed with an error state
-
close()
→ void
-
Called when the client's connection is closed
-
connect()
→ Future<void>
-
-
emit(String eventName, [List? positionalArguments, Map<Symbol, dynamic>? namedArguments])
→ bool
-
Call all listeners registered for
eventName
event
inherited
-
eventNames()
→ List<String>
-
inherited
-
isReady()
→ bool
-
-
listenerCount(String eventName)
→ int
-
inherited
-
listeners(String eventName)
→ List<_KuzzleListener>?
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
off(String eventName, Function callback)
→ void
-
inherited
-
on(String eventName, Function callback)
→ void
-
inherited
-
once(String eventName, Function callback)
→ void
-
inherited
-
prependListener(String eventName, Function callback, {bool once = false})
→ void
-
inherited
-
protocolConnect()
→ Future<void>
-
-
query(KuzzleRequest request)
→ Future<KuzzleResponse>
-
Register a response event handler for
request
-
removeAllListeners([String? eventName])
→ void
-
inherited
-
removeListener(String eventName, Function callback)
→ void
-
inherited
-
send(KuzzleRequest request)
→ Future<void>
-
Sends a payload to the connected server
-
toString()
→ String
-
A string representation of this object.
inherited