You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
583 B

  1. using System.Collections.Generic;
  2. using System.Net;
  3. namespace MQTTnet.Client
  4. {
  5. public class MqttClientWebSocketOptions : IMqttClientChannelOptions
  6. {
  7. public string Uri { get; set; }
  8. public IDictionary<string, string> RequestHeaders { get; set; }
  9. public ICollection<string> SubProtocols { get; set; } = new List<string> { "mqtt" };
  10. public CookieContainer CookieContainer { get; set; }
  11. public int BufferSize { get; set; } = 4096;
  12. public MqttClientTlsOptions TlsOptions { get; set; } = new MqttClientTlsOptions();
  13. }
  14. }