ConnectionCallback

Receives callbacks from an explicit call to connect.

Functions

Link copied to clipboard
abstract fun onConnected()
Called when connection attempt succeeds or is already open when connect is called.
Link copied to clipboard
abstract fun onDeferred()
Called when the transporter has decided not to connect to the transporter at this time.
Link copied to clipboard
abstract fun onError(@NotNull t: @NotNull Throwable)
Called when the connection attempt has failed.