Marfusios / bitfinex-client-websocket

🛠️ C# client for Bitfinex & Ethfinex websocket API version 2.0
Apache License 2.0
55 stars 38 forks source link

20051 Info message handling #21

Closed romanrakus closed 5 years ago

romanrakus commented 5 years ago

Hello,

First of all, I'm working with your lib and it seems pretty nice to me, so thanks for your job.

I'm listening to candles stream and sometimes it disconnects. According to Bitfinex documentation, I've realized that I have to subscribe to Info stream as well, so I get a notification when server status changed.

20051 : Stop/Restart Websocket Server (please try to reconnect)

Now I have a question. What should I do when I receive 20051? Is there any option to reconnect? Or what's the best way to do so?

romanrakus commented 5 years ago

Seems to me duplication with 12.