Hi Lidan,

I can confirm that for the moment compression is only available for HTTP streaming and not with WebSockets.
But we are working on that, waiting for the officiality of draft "Compression Extensions for WebSocket" ( draft-ietf-hybi-permessage-compression ).