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