.. _websocket_protocol: WebSocket ========= .. seealso:: - `RFC6455: The WebSocket Protocol `_ - `RFC7692: Compression Extensions for WebSocket `_ WebSocket support in mitmproxy is based on the amazing work by the python-hyper community with the `wsproto `_ project. It fully encapsulates WebSocket frames/messages/connections and provides an easy-to-use event-based API. mitmproxy fully supports the compression extension for WebSocket messages, provided by wsproto.