Interface IMqttClientDisconnectingCallback
Declares the OnClientDisconnectingAsync(MqttClientConfiguration) event handler.
Namespace: Silverback.Messaging.Broker.Callbacks
Assembly: Silverback.Integration.MQTT.dll
Syntax
public interface IMqttClientDisconnectingCallback : IBrokerClientCallback
Methods
OnClientDisconnectingAsync(MqttClientConfiguration)
Called when the underlying MQTTnet.IMqttClient is disconnecting from the broker.
Declaration
Task OnClientDisconnectingAsync(MqttClientConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| MqttClientConfiguration | configuration | The client configuration. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |