Refactor web socket stream. Add mqtt as default sub protocol.

This commit is contained in:
Christian
2018-03-25 14:42:12 +02:00
parent 7a9ddfc2b5
commit 3193381b69
2 changed files with 23 additions and 15 deletions
@@ -9,7 +9,7 @@ namespace MQTTnet.Client
public IDictionary<string, string> RequestHeaders { get; set; }
public ICollection<string> SubProtocols { get; set; }
public ICollection<string> SubProtocols { get; set; } = new List<string> { "mqtt" };
public CookieContainer CookieContainer { get; set; }