Skip to content
Sections
>> Trisquel >> Pakiety >> ecne (12.0LTS) >> python >> websockify
[  aramo  ] [  ecne  ] [  xolotl  ]
[ Pakiet źródłowy: websockify  ]

Pakiet: websockify (0.10.0+dfsg1-5build2)

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.

Inne pakiety związane z websockify

  • wymaga
  • poleca
  • sugeruje
  • dep: libc6 (>= 2.34)
    GNU C Library: Shared libraries
    również pakiet wirtualny udostępniany przez libc6-udeb
  • dep: python3 (<< 3.13)
    interactive high-level object-oriented language (default python3 version)
    dep: python3 (>= 3.12~)
  • dep: python3-jwcrypto
    Python3 implementation of JOSE Web standards
  • dep: python3-numpy
    Fast array facility to the Python language (Python 3)
  • dep: python3-websockify (>= 0.10.0+dfsg1-5build2)
    WebSockets support for any application/server - Python 3

Pobieranie websockify

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
amd64 23,7 KiB85 KiB [lista plików]
arm64 23,8 KiB137 KiB [lista plików]
armhf 16,3 KiB59 KiB [lista plików]
ppc64el 23,9 KiB136 KiB [lista plików]
riscv64 18,3 KiB79 KiB [lista plików]