gilmaimon/ArduinoWebsockets

Define protocol

Closed this issue · 3 comments

Hello,

I would need to setup a custom protocol name. Is this possible ? looks like this parameter is not exposed

Hi, interesting question.

It is not supported exactly, but there is a addHeader method. You could try setting that header manually if all you need is a protocol name.
Note that if that protocol name change anything with the stracture of messages, the library might not work correctly.

Gil.

Did it work?

Closing