Table of Contents

Class MqttClientWebSocketProxyConfiguration

Namespace
Silverback.Messaging.Configuration.Mqtt
Assembly
Silverback.Integration.MQTT.dll

The proxy configuration.

public record MqttClientWebSocketProxyConfiguration : IValidatableSettings, IEquatable<MqttClientWebSocketProxyConfiguration>
Inheritance
MqttClientWebSocketProxyConfiguration
Implements
Inherited Members

Constructors

MqttClientWebSocketProxyConfiguration()

public MqttClientWebSocketProxyConfiguration()

MqttClientWebSocketProxyConfiguration(MqttClientWebSocketProxyConfiguration)

protected MqttClientWebSocketProxyConfiguration(MqttClientWebSocketProxyConfiguration original)

Parameters

original MqttClientWebSocketProxyConfiguration

Properties

Address

Gets the proxy address.

public string? Address { get; init; }

Property Value

string

BypassList

Gets the bypass list.

public string[]? BypassList { get; init; }

Property Value

string[]

BypassOnLocal

Gets a value indicating whether the proxy should be bypassed for local calls.

public bool BypassOnLocal { get; init; }

Property Value

bool

Domain

Gets proxy server domain.

public string? Domain { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Password

Gets the password to be used to authenticate with the proxy server.

public string? Password { get; init; }

Property Value

string

UseDefaultCredentials

Gets a value indicating whether the default (system) credentials should be used.

public bool UseDefaultCredentials { get; init; }

Property Value

bool

Username

Gets the username to be used to authenticate with the proxy server.

public string? Username { get; init; }

Property Value

string

Methods

Equals(MqttClientWebSocketProxyConfiguration?)

public virtual bool Equals(MqttClientWebSocketProxyConfiguration? other)

Parameters

other MqttClientWebSocketProxyConfiguration

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Validate()

Throws a SilverbackConfigurationException if the configuration is not valid.

public void Validate()

Operators

operator ==(MqttClientWebSocketProxyConfiguration?, MqttClientWebSocketProxyConfiguration?)

public static bool operator ==(MqttClientWebSocketProxyConfiguration? left, MqttClientWebSocketProxyConfiguration? right)

Parameters

left MqttClientWebSocketProxyConfiguration
right MqttClientWebSocketProxyConfiguration

Returns

bool

operator !=(MqttClientWebSocketProxyConfiguration?, MqttClientWebSocketProxyConfiguration?)

public static bool operator !=(MqttClientWebSocketProxyConfiguration? left, MqttClientWebSocketProxyConfiguration? right)

Parameters

left MqttClientWebSocketProxyConfiguration
right MqttClientWebSocketProxyConfiguration

Returns

bool