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.
 
 
 
 

19 lines
451 B

  1. namespace MQTTnet.Client
  2. {
  3. public class MqttClientTcpOptions : IMqttClientChannelOptions
  4. {
  5. public string Server { get; set; }
  6. public int? Port { get; set; }
  7. public int BufferSize { get; set; } = 4096;
  8. public MqttClientTlsOptions TlsOptions { get; set; } = new MqttClientTlsOptions();
  9. public override string ToString()
  10. {
  11. return Server + ":" + this.GetPort();
  12. }
  13. }
  14. }