Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to check last request error or connection status #160

Closed
Boscop opened this issue Jun 26, 2017 · 2 comments
Closed

Ability to check last request error or connection status #160

Boscop opened this issue Jun 26, 2017 · 2 comments
Labels

Comments

@Boscop
Copy link

Boscop commented Jun 26, 2017

Is it possible to get the error of the last request (or None) or check the connection status of a client.
Or what is the recommended way to implement auto reconnect?

@tikue tikue added the feature label Jun 26, 2017
@tikue
Copy link
Collaborator

tikue commented Jun 26, 2017

Auto-reconnect is another feature we've wanted to implement but haven't had time to. I've looked in the past to see if tokio had a cookbook for idioms like this and don't remember finding anything exactly like I was thinking. There's this SO answer but it's not quite the same. Carl has a placeholder on crates.io for tokio-reconnect...

@tikue
Copy link
Collaborator

tikue commented Jun 27, 2017

Let's move further discussion to #118.

@tikue tikue closed this as completed Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants