I've been using the WsAllMiniMarketsStatServe function on both the test network and the production for over a year without any problem until recently. The endpoint wss://testnet.binance.vision/ws failed to connect for websocket APIs, and the current endpoint is now wss://stream.testnet.binance.vision/ws based on the official testnet site (https://testnet.binance.vision/). Currently, the WsAllMiniMarketsStatServe function only returns error websocket: bad handshake.
There is already a commit #652 that fixes the issue, so I'll appreciate it if anyone can approve the PR or simply update the websocket endpoint for test net, please.