Table of Contents

Class MqttClientWebSocketOptions

Namespace
MQTTnet.Client
Assembly
MQTTnet.dll
public sealed class MqttClientWebSocketOptions : IMqttClientChannelOptions
Inheritance
MqttClientWebSocketOptions
Implements
Inherited Members

Constructors

MqttClientWebSocketOptions()

public MqttClientWebSocketOptions()

Properties

CookieContainer

public CookieContainer CookieContainer { get; set; }

Property Value

CookieContainer

Credentials

public ICredentials Credentials { get; set; }

Property Value

ICredentials

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

TimeSpan

ProxyOptions

public MqttClientWebSocketProxyOptions ProxyOptions { get; set; }

Property Value

MqttClientWebSocketProxyOptions

RequestHeaders

public IDictionary<string, string> RequestHeaders { get; set; }

Property Value

IDictionary<string, string>

SubProtocols

public ICollection<string> SubProtocols { get; set; }

Property Value

ICollection<string>

TlsOptions

public MqttClientTlsOptions TlsOptions { get; set; }

Property Value

MqttClientTlsOptions

Uri

public string Uri { get; set; }

Property Value

string

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

bool

Methods

ToString()

public override string ToString()

Returns

string