deb-python-autobahn/docs/work/compression.rst
Tobias Oberstein 5d2b2a937f cleanup
2016-04-30 17:33:08 +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