SocketConfig

@Serializable
data class SocketConfig(val reconnection: Boolean = true, val reconnectionAttempts: Int = Int.MAX_VALUE, val reconnectionDelay: Long = 1000, val reconnectionDelayMax: Long = 5000, val timeout: Long = 20000, val autoConnect: Boolean = true, val transports: List<String> = listOf("websocket", "polling"))

Socket.IO configuration

Constructors

Link copied to clipboard
constructor(reconnection: Boolean = true, reconnectionAttempts: Int = Int.MAX_VALUE, reconnectionDelay: Long = 1000, reconnectionDelayMax: Long = 5000, timeout: Long = 20000, autoConnect: Boolean = true, transports: List<String> = listOf("websocket", "polling"))

Properties

Link copied to clipboard
val autoConnect: Boolean = true
Link copied to clipboard
val reconnection: Boolean = true
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val timeout: Long = 20000
Link copied to clipboard