deb-python-autobahn/doc/work/compression.rst
Tobias Oberstein 3de4349a7b work on docs
2014-07-30 14:21:49 +02:00

1.7 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