I've been successfully using WebSocket4Net for working with many crypto exchanges but today started implementing Huobi and it disconnects instantly. Their documentation says:
All return data of websocket APIs needs to be unzipped.
Recommend: pako
I guess it could be the source of the problem. As I understand, WebSocket4Net automatically converts messages to strings. Is there a way to preprocess (unzip in this case) an input bytes beforehand?
I've been successfully using WebSocket4Net for working with many crypto exchanges but today started implementing Huobi and it disconnects instantly. Their documentation says:
I guess it could be the source of the problem. As I understand, WebSocket4Net automatically converts messages to strings. Is there a way to preprocess (unzip in this case) an input bytes beforehand?