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.
 
 
 
 

24 rivejä
617 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 MqttClientTlsOptions TlsOptions { get; set; } = new MqttClientTlsOptions();
  12. public override string ToString()
  13. {
  14. return Uri;
  15. }
  16. }
  17. }