Interface IMockedMqttOptionsBuilder
- Namespace
- Silverback.Messaging.Configuration.Mqtt
- Assembly
- Silverback.Integration.MQTT.Testing.dll
Exposes the methods to configure the mocked MQTT.
public interface IMockedMqttOptionsBuilder
Methods
DelayConnection(TimeSpan)
Specifies the delay to be applied before establishing a connection.
IMockedMqttOptionsBuilder DelayConnection(TimeSpan delay)
Parameters
delayTimeSpanThe delay to be applied before establishing a connection.
Returns
- IMockedMqttOptionsBuilder
The IMockedMqttOptionsBuilder so that additional calls can be chained.