Constructors
constructor
-
Parameters
-
-
Default value url: string = "/notification/realtime"
-
Optional handshakeCallback: any
Methods
disconnect
-
Returns void
subscribe
- subscribe(channel: string, callback: function): object
-
Parameters
-
channel: string
-
callback: function
Returns object
unsubscribe
- unsubscribe(subscription: object): object
-
Parameters
Returns object