svelte-websocket-store icon indicating copy to clipboard operation
svelte-websocket-store copied to clipboard

Support for Gzip

Open jet10000 opened this issue 5 years ago • 5 comments

yes, gzip, please add support for gzip websocket messages

jet10000 avatar Feb 12 '21 23:02 jet10000

Are there any examples using gzip with WebSockets ?

arlac77 avatar Feb 14 '21 20:02 arlac77

Some servers send gzip message to client, so need check the message type and convert the gzip messages to string and then parser to json.

jet10000 avatar Feb 14 '21 20:02 jet10000

for example: https://api.huobi.pro/market/trade?symbol=btcusdt

jet10000 avatar Feb 14 '21 21:02 jet10000

Do You refer to this type of extension Compression Extensions for WebSocket ?

arlac77 avatar Feb 14 '21 21:02 arlac77

How to refer to this type of extension? options?

jet10000 avatar Feb 16 '21 21:02 jet10000