Files
deb-python-autobahn/doc/websocketcompress.rst
Tobias Oberstein 26e6f3d288 polish docs
2014-01-01 22:09:03 +01:00

2.5 KiB

WebSocket Compression

Autobahn|Python supports the following WebSocket extensions for compression:

You can find a complete example here.

Per-Message Deflate

The following classes provide the API to the permessage-deflate WebSocket extension functionality of AutobahnPython.

autobahn.websocket.compress.PerMessageDeflateOffer

autobahn.websocket.compress.PerMessageDeflateOfferAccept

autobahn.websocket.compress.PerMessageDeflateResponse

autobahn.websocket.compress.PerMessageDeflateResponseAccept

Per-Message Bzip2

The following classes provide the API to the (non-standard) permessage-bzip2 WebSocket extension functionality of Autobahn|Python.

autobahn.websocket.compress.PerMessageBzip2Offer

autobahn.websocket.compress.PerMessageBzip2OfferAccept

autobahn.websocket.compress.PerMessageBzip2Response

autobahn.websocket.compress.PerMessageBzip2ResponseAccept

Per-Message Snappy

The following classes provide the API to the (non-standard) permessage-snappy WebSocket extension functionality of Autobahn|Python.

autobahn.websocket.compress.PerMessageSnappyOffer

autobahn.websocket.compress.PerMessageSnappyOfferAccept

autobahn.websocket.compress.PerMessageSnappyResponse

autobahn.websocket.compress.PerMessageSnappyResponseAccept