Motivation: In our WebSocketClientHandshaker* implementations we "hardcode" the version number to use. This is error-prone, we should better use the WebSocketVersion so we dont need to maintain the value multiple times. Beside this we can also use an AsciiString to improve performance Modifications: - Use WebSocketVersion.toAsciiString Result: Less stuff to maintain and small performance win |
||
---|---|---|
.. | ||
main | ||
test |