Mariusz Kotas

Results 71 comments of Mariusz Kotas

Hello @ShoaibShahid, you can read about it in code documentation on the [IWebsocketClient interface](https://github.com/Marfusios/websocket-client/blob/master/src/Websocket.Client/IWebsocketClient.cs): ![image](https://user-images.githubusercontent.com/3494837/96705347-7346b280-1395-11eb-8f2d-49d289dfc48c.png) So `ReconnectTimeout` just affects inactivity, if no message comes from server it performs reconnection. There...

Hello @Ibrahim-Islam, reconnection is built-in, you don't have to do anything. Configure `_client.ErrorReconnectTimeout = TimeSpan.FromXxx()` to set reconnection timeout when server is not available or some network error occurs. Default...

Yea, don't use `GetResult()`, or `.Result` or `Wait()`. It blocks execution and it is very prone to dead-locks. What does the method `LoginAsync()` do? Sending authentication data via websockets? It...

Hello @mradovcic, unfortunately can't help you. At first sight, there is no serious issue with your code. `ByUser` means that your code definitely called method `Reconnect` or `ReconnectOrFail` at some...

Ok, let me know. I see, then use: ```csharp public async Task StartAsync(CancellationToken cancellationToken) { // .... await _wssClient.StartOrFail(); } ``` Don't forget to enable verbose logging, it helps a...

Hello @gstester , thanks for the message. I got everything green: ![image](https://user-images.githubusercontent.com/3494837/73747918-b950dd00-4758-11ea-80d3-e57e95767cc7.png) Could you try it again? Those integration tests are very fragile, they dependent on Bitmex API. More accurate...

Hello @david-au, thanks for the message, let me check it, I will try to change it into more deterministic flow.

Hello @rakotomandimby , good point, I noticed it but couldn't find out how to use `Microsoft.Exentions.Logging` without dependency injection, maybe I've missed something. PR is welcome!

Hello @huyvandnc , yes, it is possible, see [advanced configuration documentation](https://github.com/Marfusios/websocket-client#advanced-configuration). Also here is an exact example of setting headers: https://github.com/Marfusios/websocket-client/issues/52