Add proxy settings for WebSocket connections for .NET 451 and 461

This commit is contained in:
Marius Ruginosu
2018-07-18 10:51:45 +03:00
parent 23ae8ab3b5
commit fa34908d82
4 changed files with 73 additions and 1 deletions
@@ -13,6 +13,10 @@ namespace MQTTnet.Client
public CookieContainer CookieContainer { get; set; }
#if NET452 || NET461
public MqttClientWebSocketProxyOptions MqttClientWebSocketProxy { get; set; } = new MqttClientWebSocketProxyOptions();
#endif
public MqttClientTlsOptions TlsOptions { get; set; } = new MqttClientTlsOptions();
public override string ToString()