nodeca / pako

high speed zlib port to javascript, works in browser & node.js

Home Page:http://nodeca.github.io/pako/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to decompress gzip response

qnxdev opened this issue · comments

commented

Trying to decompress gzip response from this websocket but it always give errors

wss://api.cointiger.com/exchange-market/ws

What should be the correct format?
This is the WS related doc.

It says response is gzipped
https://github.com/cointiger/api-docs-en/wiki/Public-Request-And-Subscription-Instructions

Sorry, can't help with generic programming questions. See tests, this lib is checked against binary compatibility with zlib, but i'm not responsible for how do you use it.