Marfusios / websocket-client

🔧 .NET/C# websocket client library
MIT License
682 stars 126 forks source link

Add timeout before reconnecting when the listened stream is lost #127

Closed densidenko closed 1 year ago

densidenko commented 1 year ago

Add timeout before reconnecting if the connection is lost with a transient error.

eramosr16 commented 1 year ago

@Marfusios Can you approve this, I need this feature for a project I'm working on. The current ReconnectTimeout and ErrorReconnectTimeout don't apply to this specific use case.

Marfusios commented 1 year ago

Sorry for the delay, I totally missed the notification about this PR. Merging now...