Pusher class

Implementers
Annotations
  • @JS()

Constructors

Pusher(String app_key, [Options options])
factory

Properties

channels Channels
getter/setter pair
config Config
getter/setter pair
connection ConnectionManager
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
key String
INSTANCE PROPERTIES
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionID num
getter/setter pair

Methods

allChannels() List<Channel>
bind(String event_name, Function callback, [dynamic context]) Pusher
bind_global(Function callback) Pusher
channel(String name) Channel?
connect() → dynamic
disconnect() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send_event(String event_name, dynamic data, [String channel]) → dynamic
shouldUseTLS() bool
subscribe(String channel_name) → dynamic
subscribeAll() → dynamic
toString() String
A string representation of this object.
inherited
unbind([String event_name, Function callback, dynamic context]) Pusher
unbind_all([Function callback]) Pusher
unbind_global([Function callback]) Pusher
unsubscribe(String channel_name) → dynamic

Operators

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

Static Properties

auth_callbacks ↔ dynamic
getter/setter pair
DependenciesReceivers ↔ dynamic
getter/setter pair
instances List<Pusher>
STATIC PROPERTIES
getter/setter pair
isReady bool
getter/setter pair
log ↔ void Function(dynamic)
getter/setter pair
logToConsole bool
getter/setter pair
ScriptReceivers ↔ dynamic
for jsonp
getter/setter pair

Static Methods

getClientFeatures() List<String>
ready() → dynamic