Closed
Description
Hey, currently the SecKey length is fixed to 21 chars (https://github.com/arduino-libraries/ArduinoHttpClient/blob/master/src/WebSocketClient.cpp#L39), but I've seen some examples (f.e. wikipedia article) using 24 chars. There doesn't seem to be a specification about the length, but I've stumbled upon libraries that expect the length of 24 chars (https://www.npmjs.com/package/uws).
So, I'd suggest to make the SecKey length overwritable and maybe change the default length to 24 characters.
Metadata
Metadata
Assignees
Labels
No labels