Add several new options to the WebSocket options

This commit is contained in:
Christian Kratky
2017-10-22 21:10:14 +02:00
parent 41edc3a1ec
commit 84a647e712
4 changed files with 75 additions and 1 deletions
@@ -1,7 +1,16 @@
namespace MQTTnet.Core.Client
using System.Collections.Generic;
using System.Net;
namespace MQTTnet.Core.Client
{
public class MqttClientWebSocketOptions : BaseMqttClientOptions
{
public string Uri { get; set; }
public IDictionary<string, string> RequestHeaders { get; set; }
public ICollection<string> SubProtocols { get; set; }
public CookieContainer CookieContainer { get; set; }
}
}