DartySocket extension

Default event listeners for dart way API.

on

Methods

onConnect(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onConnectError(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onConnecting(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onConnectTimeout(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onDisconnect(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onError(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onPing(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onPong(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onReconnect(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onReconnectAttempt(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onReconnectError(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onReconnectFailed(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension

onReconnecting(EventHandler handler) → void

Available on Socket, provided by the DartySocket extension