diff options
author | Pierre Ossman <pierre@ossman.eu> | 2017-01-28 14:50:48 +0100 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2017-02-01 08:09:53 +0100 |
commit | 4099949984eb80ef33c2d0dd216991124975a5d2 (patch) | |
tree | 53d807d8818238373fdfaf50266aebfd3469122e /README.md | |
parent | 56a4ccbf74be59484fad9878ea6c155c3edc0ff9 (diff) | |
download | websockify-4099949984eb80ef33c2d0dd216991124975a5d2.tar.gz |
Remove Base64 support
This is an older protocol used before browsers got native
support for Websockets.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -33,16 +33,8 @@ href="http://www.twitter.com/noVNC">@noVNC</a> if you do. ### WebSockets binary data Starting with websockify 0.5.0, only the HyBi / IETF -6455 WebSocket protocol is supported. - -Websockify negotiates whether to base64 encode traffic to and from the -client via the subprotocol header (Sec-WebSocket-Protocol). The valid -subprotocol values are 'binary' and 'base64' and if the client sends -both then the server (the python implementation) will prefer 'binary'. -The 'binary' subprotocol indicates that the data will be sent raw -using binary WebSocket frames. Some HyBi clients (such as the Flash -fallback and older Chrome and iOS versions) do not support binary data -which is why the negotiation is necessary. +6455 WebSocket protocol is supported. There is no support for the older +Base64 encoded data format. ### Encrypted WebSocket connections (wss://) @@ -77,8 +69,7 @@ and then also to the key with `--key`. Finally, use `--ssl-only` as needed. The `include/websock.js` Javascript library library provides a Websock object that is similar to the standard WebSocket object but Websock enables communication with raw TCP sockets (i.e. the binary stream) -via websockify. This is accomplished by base64 encoding the data -stream between Websock and websockify. +via websockify. Websock has built-in receive queue buffering; the message event does not contain actual data but is simply a notification that |