I would like to implement Websocket Sub-Protocol (RFC 6455, Section 1.9) support in the Websocket Node. I need this as a system I’m connecting to uses sub-protocols as a means of authentication (putting the api key in as a sub-protocol).
Work for this has already started as PR #1938 but the original author seems to have abandoned the idea years ago. It seems like a rather simple change and i’d be happy to provide the code and effort to get this into Node-Red.
I’ve done OSS dev before but never for Node-Red, so I’m curious what’s next, and what kind of questions remain.
If you read through the comments from me and @dceejay on that PR there are a number of questions that need thinking about.
In terms of implementation, as I say in the pr, it should target the dev branch. If we can get something merged in the next two weeks, it'll make the cut for 2.2 at the end of this month.