Update samples (#1768)

This commit is contained in:
Christian
2023-06-15 18:32:28 +02:00
committed by GitHub
parent a97e88be29
commit 560e80455f
2 changed files with 66 additions and 3 deletions
@@ -227,11 +227,12 @@ namespace MQTTnet.Implementations
{
clientWebSocket.Options.UseDefaultCredentials = _options.UseDefaultCredentials;
}
#endif
if (_options.KeepAliveInterval != WebSocket.DefaultKeepAliveInterval)
{
clientWebSocket.Options.KeepAliveInterval = _options.KeepAliveInterval;
}
#endif
#endif
if (_options.Credentials != null)
{