onConnected( )


Adds an event handler that runs when a connection or reconnection occurs.

A connection occurs on the first subscription to a channel or channel resource or when an existing connection is lost and then restored.

Method Declaration
Copy
Request
This method does not take any parameters
Was this helpful?
Yes
No