mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-19 19:13:11 +08:00
Update samples (#1768)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user