SocketCommon
abstract class SocketCommon(params: PayloadClosure, vsn: String, encode: EncodeClosure, decode: DecodeClosure, scope: CoroutineScope)
Content copied to clipboard
Functions
Link copied to clipboard
Connects to the Phoenix Socket. Suspends until the server acknowledges the connection.
Link copied to clipboard
Disconnects from the Phoenix Socket and resets the reconnectTimer.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Interval between Socket reconnect attempts, in ms
Link copied to clipboard
Interval between Channel rejoin attempts, in ms