File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ public interface IHiveMQClient : IDisposable
61
61
/// <param name="connectOptions">The connect override options for the MQTT Connect call. These settings
62
62
/// will override the settings in HiveMQClientOptions.</param>
63
63
/// <returns>A ConnectResult class representing the result of the MQTT connect call.</returns>
64
- public Task < ConnectResult > ConnectAsync ( ConnectOptions ? connectOptions ) ;
64
+ public Task < ConnectResult > ConnectAsync ( ConnectOptions ? connectOptions = null ) ;
65
65
66
66
/// <summary>
67
67
/// Asynchronous disconnect from the previously connected MQTT broker.
68
68
/// </summary>
69
69
/// <param name="options">The options for the MQTT Disconnect call.</param>
70
70
/// <returns>A boolean indicating on success or failure.</returns>
71
- public Task < bool > DisconnectAsync ( DisconnectOptions ? options ) ;
71
+ public Task < bool > DisconnectAsync ( DisconnectOptions ? options = null ) ;
72
72
73
73
/// <summary>
74
74
/// Publish a message to an MQTT topic.
You can’t perform that action at this time.
0 commit comments