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

is_connected()? #227

Open
dr-kernel opened this issue Nov 28, 2023 · 1 comment
Open

is_connected()? #227

dr-kernel opened this issue Nov 28, 2023 · 1 comment
Labels

Comments

@dr-kernel
Copy link

I'm looking at how best to determine that my transport layer is still active without having to send a request to the server and get an ErrorKind::NotConnected. I've noticed that the transport object is heavily buried int he client. Any suggestions about best way to do a quick boolean check before trying to read/write and having to create a new connection?

@CosminPerRam
Copy link

bump

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

3 participants