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

regenerate on timeout #4

Open
iraizo opened this issue Jun 21, 2022 · 0 comments
Open

regenerate on timeout #4

iraizo opened this issue Jun 21, 2022 · 0 comments

Comments

@iraizo
Copy link
Contributor

iraizo commented Jun 21, 2022

The hello op gives you the heartbeat_interval and timeout_ms: Time in milliseconds until the server will close the websocket and invalidate the login QR code.

Upon the timeout happening the cancel op is getting sent, which closes the connection after it, rerunning Client::Connect should be done preferably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant