WsTransport class

Constructors

WsTransport(Map<String, dynamic> _opts, BaseAuthenticator _auth, dynamic _statusCallback(Status, dynamic error))

Properties

authenticator BaseAuthenticator
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subs Map<int, Subscription>
final

Methods

checkOptions(Map info, Map opts) → void
close() → void
connect(List<String> servers) Future<void>
debug(dynamic msg, [String prefix = '']) → void
isClosed() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(Uint8List data) Future<void>
protoLen(Uint8List ba) int
protoParseInt(dynamic a) int
publish(String subject, List<int> data, Map<String, dynamic> options) → void
reconnect() Future<void>
send(List<int>? data) → void
subscribe(String subject, SubCallback? callback, String? queue, bool delay) Subscription
toString() String
A string representation of this object.
inherited
unsubscribe(Subscription? s, bool delay) → void

Operators

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

Static Properties

cmdMap Map<_Command, Uint8List>
final
info RegExp
final

Constants

NULL → const dynamic