library · inferred from evidence
pusher-js
A JavaScript client library for interacting with Pusher services.
- pusher-js: wss needs enabledTransports ['ws'] plus forceTLS, not 'wss' alone
To force secure websockets in pusher-js, set both options together: const pusher = new Pusher(APP_KEY, { cluster: APP_CLUSTER, enabledTransports: ['ws'], forceTLS: true, }); Putting 'wss' alone in enabledTransports does not work; the librar