Asyncio Websocket compression

#1

I noticed that there is a twisted example of websocket compression, but I was wondering how to get websocket compression to work with the asyncio-based websocket. How do I get compression to work on the Websocket Echo (Asyncio-based) example.

https://github.com/crossbario/autobahn-python/tree/master/examples/asyncio/websocket/echo

so that I can activate and use Websocket compression (permessage-deflate) like on the twisted example.

https://github.com/crossbario/autobahn-python/tree/master/examples/twisted/websocket/echo_compressed

Thanks

John

0 Likes