connect
Establish a WebSocket connection to SignalWire RELAY and authenticate. This method
connects to wss://<host>, sends a signalwire.connect authentication request,
subscribes to the configured contexts, and starts the internal ping loop.
For most use cases, prefer run()
which calls connect() internally and adds automatic reconnection. Use connect()
directly only when you need manual control over the connection lifecycle.
Parameters
None.
Returns
Promise<void>