In stream.js, if the environment is a browser with native websocket support and the options object is used, protocols is always null.
This means that the library user can't set the protocol. In my case, this actually means I can't connect to the websocket server (Mosquitto via libwebsockets).
In
stream.js
, if the environment is a browser with native websocket support and theoptions
object is used,protocols
is alwaysnull
.This means that the library user can't set the protocol. In my case, this actually means I can't connect to the websocket server (Mosquitto via libwebsockets).