Class MqttClientWebSocketConfiguration
The configuration of the websocket connection to the MQTT message broker.
Inheritance
MqttClientWebSocketConfiguration
Assembly: Silverback.Integration.MQTT.dll
Syntax
public record MqttClientWebSocketConfiguration : MqttClientChannelConfiguration, IValidatableSettings, IEquatable<MqttClientChannelConfiguration>, IEquatable<MqttClientWebSocketConfiguration>
Constructors
MqttClientWebSocketConfiguration()
The configuration of the websocket connection to the MQTT message broker.
Declaration
public MqttClientWebSocketConfiguration()
MqttClientWebSocketConfiguration(MqttClientWebSocketConfiguration)
The configuration of the websocket connection to the MQTT message broker.
Declaration
protected MqttClientWebSocketConfiguration(MqttClientWebSocketConfiguration original)
Parameters
Properties
CookieContainer
Gets the cookies associated with the request.
Declaration
public CookieContainer? CookieContainer { get; init; }
Property Value
Credentials
Gets the credentials to be used.
Declaration
public ICredentials? Credentials { get; init; }
Property Value
DangerousDeflateOptions
Declaration
public WebSocketDeflateOptions? DangerousDeflateOptions { get; init; }
Property Value
EqualityContract
The configuration of the websocket connection to the MQTT message broker.
Declaration
protected override Type EqualityContract { get; }
Property Value
Overrides
KeepAliveInterval
Gets the keep alive interval for the web socket connection. This is not related to the keep alive interval for the MQTT protocol.
The default is DefaultKeepAliveInterval.
Declaration
public TimeSpan KeepAliveInterval { get; init; }
Property Value
Proxy
Gets the proxy configuration.
Declaration
public MqttClientWebSocketProxyConfiguration? Proxy { get; init; }
Property Value
Gets the request headers.
Declaration
public IDictionary<string, string>? RequestHeaders { get; init; }
Property Value
SubProtocols
Gets the sub-protocols to be negotiated during the WebSocket connection handshake.
Declaration
public ICollection<string>? SubProtocols { get; init; }
Property Value
Uri
Declaration
public string? Uri { get; init; }
Property Value
UseDefaultCredentials
Gets a value indicating whether the default (system) credentials should be used. The default is false.
Declaration
public bool UseDefaultCredentials { get; init; }
Property Value
Methods
Equals(MqttClientChannelConfiguration?)
The configuration of the websocket connection to the MQTT message broker.
Declaration
public override sealed bool Equals(MqttClientChannelConfiguration? other)
Parameters
Returns
Overrides
Equals(MqttClientWebSocketConfiguration?)
The configuration of the websocket connection to the MQTT message broker.
Declaration
public virtual bool Equals(MqttClientWebSocketConfiguration? other)
Parameters
Returns
Equals(object?)
The configuration of the websocket connection to the MQTT message broker.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
The configuration of the websocket connection to the MQTT message broker.
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
The configuration of the websocket connection to the MQTT message broker.
Declaration
protected override bool PrintMembers(StringBuilder builder)
Parameters
Returns
Overrides
ToString()
The configuration of the websocket connection to the MQTT message broker.
Declaration
public override string ToString()
Returns
Overrides
Validate()
Declaration
public override void Validate()
Overrides
Operators
operator ==(MqttClientWebSocketConfiguration?, MqttClientWebSocketConfiguration?)
The configuration of the websocket connection to the MQTT message broker.
Declaration
public static bool operator ==(MqttClientWebSocketConfiguration? left, MqttClientWebSocketConfiguration? right)
Parameters
Returns
operator !=(MqttClientWebSocketConfiguration?, MqttClientWebSocketConfiguration?)
The configuration of the websocket connection to the MQTT message broker.
Declaration
public static bool operator !=(MqttClientWebSocketConfiguration? left, MqttClientWebSocketConfiguration? right)
Parameters
Returns
Implements