adshao / go-binance

A Go SDK for Binance API
MIT License
1.54k stars 676 forks source link

Enable WS compression #613

Open vlw opened 1 month ago

vlw commented 1 month ago

Websocket compression was disabled in #433 . Root issue: #430

compression was fixed in coder/websocket 1.8.8 (Oct 20, 2023)

https://github.com/coder/websocket/commit/97d7f905e69c16e7cde77f12854b8a12e6c90332 https://github.com/coder/websocket/pull/258 https://github.com/coder/websocket/issues/351 https://github.com/coder/websocket/releases/tag/v1.8.8

We can enable WS compression. I tested, it works.

xyq-c-cpp commented 1 month ago

thanks for your feedback @vlw