bytebeamio / rumqtt

The MQTT ecosystem in rust
Apache License 2.0
1.65k stars 255 forks source link

feat: disconnect with properties #915

Open kelvincesar opened 1 month ago

kelvincesar commented 1 month ago

Implements disconnect_with_properties and try_disconnect_with_properties methods on Client and AsyncClient, allowing disconnection from the broker with custom properties and reasons.

It should resolve #887.

Type of change

Checklist: