OpcLabs.MqttNet communication package: Difference between revisions
From OPC Labs Knowledge Base
Line 49: | Line 49: | ||
|- | |- | ||
|MqttClientOptions.ChannelOptions | |MqttClientOptions.ChannelOptions | ||
| | |MQTTnet.Client.Options.IMqttClientChannelOptions | ||
|Default value is null. For known URL schemes, it gets overwritten by a value determined during URL resolution. For "mqtt", "mqtts", "ssl", "tcp" schemes, value from the MqttClientTcpOptions property is used. For "ws", "wss" schemes, value from the MqttClientWebSocketOptions is used. | |Default value is null. For known URL schemes, it gets overwritten by a value determined during URL resolution. For "mqtt", "mqtts", "ssl", "tcp" schemes, value from the MqttClientTcpOptions property is used. For "ws", "wss" schemes, value from the MqttClientWebSocketOptions is used. | ||
|- | |- | ||
Line 149: | Line 149: | ||
|- | |- | ||
|MqttClientTcpOptions.TlsOptions.Certificates | |MqttClientTcpOptions.TlsOptions.Certificates | ||
| | |System.List<System.Security.Cryptography.X509Certificates.X509Certificate> (.NET Framework)<br/>System.List<System.Byte[]> (.NET Standard) | ||
| | | | ||
|- | |- |
Revision as of 22:42, 12 December 2019
Configuring the communication package
ClientWaitTimeout | System.Int32 | |
ManagedMqttClientOptions | MQTTnet.Extensions.ManagedClient.ManagedMqttClientOptions | |
ManagedMqttClientOptions.AutoReconnectDelay | System.TimeSpan | |
ManagedMqttClientOptions.ClientOptions | MQTTnet.Client.Options.IMqttClientOptions | |
ManagedMqttClientOptions.ConnectionCheckInterval | System.TimeSpan | |
ManagedMqttClientOptions.MaxPendingMessages | System.Int32 | |
ManagedMqttClientOptions.PendingMessagesOverflowStrategy | MQTTnet.Server.MqttPendingMessagesOverflowStrategy | |
ManagedMqttClientOptions.Storage | MQTTnet.Extensions.ManagedClient.IManagedMqttClientStorage | |
MqttClientOptions | MQTTnet.Client.Options.MqttClientOptions | |
MqttClientOptions.AuthenticationData | System.Byte[] | |
MqttClientOptions.AuthenticationMethod | System.String | |
MqttClientOptions.ChannelOptions | MQTTnet.Client.Options.IMqttClientChannelOptions | Default value is null. For known URL schemes, it gets overwritten by a value determined during URL resolution. For "mqtt", "mqtts", "ssl", "tcp" schemes, value from the MqttClientTcpOptions property is used. For "ws", "wss" schemes, value from the MqttClientWebSocketOptions is used. |
MqttClientOptions.CleanSession | System.Boolean | |
MqttClientOptions.ClientId | System.String | |
MqttClientOptions.Credentials | ||
MqttClientOptions.CommunicationTimeout | System.Timespan | |
MqttClientOptions.ExtendedAuthenticationExchangeHandler | MQTTnet.Client.ExtendedAuthenticationExchange.IMqttExtendedAuthenticationExchangeHandler | |
MqttClientOptions.KeepAlivePeriod | System.Timespan | |
MqttClientOptions.KeepAliveSendInterval | System.Nullable<System.TimeSpan> | |
MqttClientOptions.MaximumPacketSize | System.Nullable<System.UInt32> | |
MqttClientOptions.ProtocolVersion | MQTTnet.Formatter.MqttProtocolVersion | |
MqttClientOptions.ReceiveMaximum | System.Nullable<UInt16> | |
MqttClientOptions.RequestProblemInformation | System.Nullable<System.Boolean> | |
MqttClientOptions.RequestResponseInformation | System.Nullable<System.Boolean> | |
MqttClientOptions.SessionExpiryInterval | System.Nullable<System.UInt32> | |
MqttClientOptions.TopicAliasMaximum | System.Nullable<System.UInt16> | |
MqttClientOptions.WillDelayInterval | System.Nullable<System.UInt16> | |
MqttClientTcpOptions | MQTTnet.Client.Options.MqttClientTcpOptions | |
MqttClientTcpOptions.AddressFamily | ||
MqttClientTcpOptions.BufferSize | ||
MqttClientTcpOptions.DualMode | ||
MqttClientTcpOptions.NoDelay | ||
MqttClientTcpOptions.Port | ||
MqttClientTcpOptions.Server | ||
MqttClientTcpOptions.TlsOptions | ||
MqttClientTcpOptions.TlsOptions.AllowUntrustedCertificates | System.Boolean | |
MqttClientTcpOptions.TlsOptions.Certificates | System.List<System.Security.Cryptography.X509Certificates.X509Certificate> (.NET Framework) System.List<System.Byte[]> (.NET Standard) |
|
MqttClientTcpOptions.TlsOptions.CertificateValidationCallback | System.Func<System.Security.Cryptography.X509Certificates.X509Certificate, System.Security.Cryptography.X509Certificates.X509Chain, System.Net.Security.SslPolicyErrors, MQTTnet.Client.Options.IMqttClientOptions, System.Boolean> | |
MqttClientTcpOptions.TlsOptions.IgnoreCertificateChainErrors | System.Boolean | |
MqttClientTcpOptions.TlsOptions.IgnoreCertificateRevocationErrors | System.Boolean | |
MqttClientTcpOptions.TlsOptions.SslProtocol | System.Security.Authentication.SslProtocols | |
MqttClientTcpOptions.TlsOptions.UseTls | System.Boolean | |
MqttClientWebSocketOptions | MQTTnet.Client.Options.MqttClientWebSocketOptions | |
MqttClientWebSocketOptions.CookieContainer | ||
MqttClientWebSocketOptions.ProxyOptions | ||
MqttClientWebSocketOptions.RequestHeaders | ||
MqttClientWebSocketOptions.SubProtocols | ||
MqttClientWebSocketOptions.TlsOptions | ||
MqttClientWebSocketOptions.TlsOptions.* | ||
MqttClientWebSocketOptions.Uri |