connect

open suspend override fun connect(url: String, config: SocketConfig): Result<Unit>

Connect to a Socket.IO server.

Return

Result indicating success or failure with error details

Parameters

url

The WebSocket server URL (e.g., "https://mediasfu.com")

config

Socket configuration (reconnection settings, timeout, etc.)