DartySocket extension
Default event listeners for dart way API.
- on
Methods
-
onConnect(
EventHandler handler) → void -
onConnectError(
EventHandler handler) → void -
onConnecting(
EventHandler handler) → void -
onConnectTimeout(
EventHandler handler) → void -
onDisconnect(
EventHandler handler) → void -
onError(
EventHandler handler) → void -
onPing(
EventHandler handler) → void -
onPong(
EventHandler handler) → void -
onReconnect(
EventHandler handler) → void -
onReconnectAttempt(
EventHandler handler) → void -
onReconnectError(
EventHandler handler) → void -
onReconnectFailed(
EventHandler handler) → void -
onReconnecting(
EventHandler handler) → void