reconnect
suspend fun reconnect(scope: CoroutineScope, queueMessages: Boolean = true)
Content copied to clipboard
Reconnects the PhxSocket with parameters specified by the reconnectWith lambda.
Return
Parameters
scope
the current Coroutine scope.
queueMessages
a boolean indicating whether or not all already registered subscriptions should try to subscribe again