Websockify
Websockify
https://pypi.org/project/websockify
WebSockets support for any application/server
websockify was formerly named wsproxy and was part of the noVNC project.
At the most basic level, websockify just translates WebSockets traffic to normal socket traffic. Websockify accepts the WebSockets handshake, parses it, and then begins forwarding traffic between the client and the target in both directions.
Websockify supports all versions of the WebSockets protocol (Hixie and HyBi). The older Hixie versions of the protocol only support UTF-8 text payloads. In order to transport binary data over UTF-8 an encoding must used to encapsulate the data within UTF-8.
With Hixie clients, Websockify uses base64 to encode all traffic to and from the client. This does not affect the data between websockify and the server.
With HyBi clients, 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.
Download
http://ftp.debian.org/debian/pool/main/w/websockify/websockify_0.6.0+dfsg1.orig.tar.xz
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: Thomas Goirand <zigo@debian.org>
Verified on
19 June 2014
Notes
License: mpl-2.0
License
Verified by
Debian: Thomas Goirand <zigo@debian.org>
Verified on
19 June 2014
Notes
License: bsd-2-clauses
License
Verified by
Debian: Thomas Goirand <zigo@debian.org>
Verified on
19 June 2014
Notes
License: lgpl-2
License
Verified by
Debian: Thomas Goirand <zigo@debian.org>
Verified on
19 June 2014
Notes
License: lgpl-3
Leaders and contributors
Resources and communication
Audience | Resource type | URI |
---|---|---|
Download | https://github.com/kanaka/websockify | |
Python (Ref) | https://pypi.org/project/websockify | |
Debian (Ref) | https://tracker.debian.org/pkg/websockify |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.