Websocket-King
Websocket-King copied to clipboard
Please add permessage-deflate decompression support
Is your feature request related to a problem? Please describe.
Whenever I connect to a server supporting permessage-deflate, WebSocket-King crashes
https://reactjs.org/docs/error-decoder.html/?invariant=31&args[]=%5Bobject%20Blob%5D
Describe the solution you'd like
Decompress server responses and show us as normal responses.
Describe alternatives you've considered A description of any alternative solutions or features you've considered.
I have used
wss://api.upbit.com/websocket/v1 [{"ticket":"UNIQUE_TICKET"},{"type":"orderbook","codes":["KRW-BTC.3","BTC-XRP.5"]}]
and
wss://real.okex.com:8443/ws/v3 {"op": "subscribe", "args": ["swap/ticker:BTC-USD-SWAP"]}