using System.Collections.Generic; using System.Net; namespace MQTTnet.Client.Options { public class MqttClientWebSocketOptions : IMqttClientChannelOptions { public string Uri { get; set; } public IDictionary RequestHeaders { get; set; } public ICollection SubProtocols { get; set; } = new List { "mqtt" }; public CookieContainer CookieContainer { get; set; } public MqttClientWebSocketProxyOptions ProxyOptions { get; set; } public MqttClientTlsOptions TlsOptions { get; set; } = new MqttClientTlsOptions(); public override string ToString() { return Uri; } } }