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

rumqttc: disconnect with options #887

Open
xiaocq2001 opened this issue Jul 9, 2024 · 1 comment · May be fixed by #915
Open

rumqttc: disconnect with options #887

xiaocq2001 opened this issue Jul 9, 2024 · 1 comment · May be fixed by #915
Labels
good first issue Good for newcomers

Comments

@xiaocq2001
Copy link
Contributor

Expected Behavior

It does not appear there is a way to inform the broker that the client wishes to end the session. Usually, as I understand it, this is done by sending a disconnect packet with an expiry interval set to 0, but this is not currently an option on rumqttc’s disconnect.

Current Behavior

There is no way to assign disconnect options.

@swanandx
Copy link
Member

swanandx commented Jul 9, 2024

Thanks for pointing it out! We should have a method like disconnect_with_properties for disconnect in v5 client ( just like we have for publish/subscribe )

@swanandx swanandx added the good first issue Good for newcomers label Jul 9, 2024
@kelvincesar kelvincesar linked a pull request Sep 26, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants