Could websocket support gzip compression?

前端 未结 3 997
野性不改
野性不改 2020-12-10 10:40

After the success handshake of WebSocket, could we used gzip compression?

Here are my tests:

  1. I use autobahn lib to build a server, then respon to cli
3条回答
  •  盖世英雄少女心
    2020-12-10 11:12

    There is a compression extension being worked on by the IETF Websocket (HyBi) working group. I would suggest following their mailing list for up-to-date information. I also recommend checking out this question.


    Update 2017: The extension has now been available for some time, see here: https://tools.ietf.org/html/rfc7692

提交回复
热议问题