mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 17:53:03 +08:00
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
using MQTTnet.Client.ExtendedAuthenticationExchange;
|
|
using MQTTnet.Formatter;
|
|
using MQTTnet.Packets;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MQTTnet.Client.Options
|
|
{
|
|
public interface IMqttClientOptions
|
|
{
|
|
string ClientId { get; }
|
|
bool CleanSession { get; }
|
|
IMqttClientCredentials Credentials { get; }
|
|
IMqttExtendedAuthenticationExchangeHandler ExtendedAuthenticationExchangeHandler { get; }
|
|
MqttProtocolVersion ProtocolVersion { get; }
|
|
IMqttClientChannelOptions ChannelOptions { get; }
|
|
|
|
TimeSpan CommunicationTimeout { get; }
|
|
TimeSpan KeepAlivePeriod { get; }
|
|
MqttApplicationMessage WillMessage { get; }
|
|
uint? WillDelayInterval { get; }
|
|
|
|
string AuthenticationMethod { get; }
|
|
byte[] AuthenticationData { get; }
|
|
uint? MaximumPacketSize { get; }
|
|
ushort? ReceiveMaximum { get; }
|
|
bool? RequestProblemInformation { get; }
|
|
bool? RequestResponseInformation { get; }
|
|
uint? SessionExpiryInterval { get; }
|
|
ushort? TopicAliasMaximum { get; }
|
|
List<MqttUserProperty> UserProperties { get; set; }
|
|
}
|
|
} |