FayeClient class
Constructors
-
FayeClient(String baseUrl, {Iterable<String>? protocols, int retry = 5, WebSocketChannelProvider? webSocketChannelProvider, Level logLevel = Level.ALL, LogHandlerFunction? logHandlerFunction})
-
Methods
-
addExtension(Map<String, MessageHandler> extension)
→ void
-
inherited
-
addExtensions(Iterable<Map<String, MessageHandler>> extensions)
→ void
-
inherited
-
cancelAllTimeout()
→ void
-
inherited
-
cancelTimeout(String id)
→ void
-
inherited
-
connect({VoidCallback? callback})
→ void
-
-
disconnect()
→ Future<void>
-
-
handshake({VoidCallback? callback})
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pipeThroughExtensions(String stage, Message message, void callback(Message message))
→ void
-
inherited
-
publish(String channel, {required Map<String, Object?> data})
→ Future<void>
-
-
removeExtension(Map<String, MessageHandler> extension)
→ void
-
inherited
-
setTimeout(Duration duration, void callback())
→ String
-
inherited
-
subscribe(String channel, {Callback? callback, bool force = false})
→ Future<Subscription>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
unsubscribe(String channel, Subscription subscription)
→ void
-