enabledTransports
is set to ['ws', 'wss']
. If not set, in case of connection failure, the client will try other transports such as XHR polling, which soketi doesn't support.forceTLS
client option to true
. When this option is set to true
, the client will connect to the wss
protocol instead of ws
: