Vanilla JS WebSocket object can properly set protocol value but “ws” package required by node cannot set protocol?
I’m currently trying to create a WebSocket object using node (version 18.17.0) but every time I try to set the protocol using the “ws” library it never sets it and it always ends up as an empty string.