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

[ FEATURE ] - connect with heartbeat #19

Open
mrjackwills opened this issue May 24, 2024 · 0 comments
Open

[ FEATURE ] - connect with heartbeat #19

mrjackwills opened this issue May 24, 2024 · 0 comments

Comments

@mrjackwills
Copy link

As far as I can tell, at the moment there is not easy way to set a heartbeat for a client connection.

In my quick glance, I'd need to re-implement both the connect and client_handshake functions.

Maybe for backwards compatibilities sake, a new function could be added, I can submit a PR if needs be.

pub async fn connect_with_heartbeat(
    address: impl Into<String>,
    login: Option<String>,
    passcode: Option<String>,
    heartbeat: (u32, u32)
 )

Or am I missing something really obvious?

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