Class MqttClientWebSocketOptions
- Namespace
- Azure.Iot.Operations.Protocol.Models
- Assembly
- Azure.Iot.Operations.Protocol.dll
public sealed class MqttClientWebSocketOptions : IMqttClientChannelOptions
- Inheritance
-
MqttClientWebSocketOptions
- Implements
- Inherited Members
Properties
CookieContainer
public CookieContainer? CookieContainer { get; set; }
Property Value
Credentials
public ICredentials? Credentials { get; set; }
Property Value
KeepAliveInterval
Gets or sets the keep alive interval for the Web Socket connection. This is not related to the keep alive interval for the MQTT protocol.
public TimeSpan KeepAliveInterval { get; set; }
Property Value
ProxyOptions
public MqttClientWebSocketProxyOptions? ProxyOptions { get; set; }
Property Value
RequestHeaders
public IDictionary<string, string> RequestHeaders { get; set; }
Property Value
SubProtocols
public ICollection<string> SubProtocols { get; set; }
Property Value
TlsOptions
public MqttClientTlsOptions TlsOptions { get; set; }
Property Value
Uri
public required string Uri { get; set; }
Property Value
UseDefaultCredentials
Gets or sets whether the default (system) credentials should be used when connecting via Web Socket connection. This is not related to the credentials which are used for the MQTT protocol.
public bool UseDefaultCredentials { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.