mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 18:38:12 +08:00
Refactor ConnectedClient statistics API
This commit is contained in:
@@ -41,6 +41,8 @@ namespace MQTTnet.Implementations
|
||||
|
||||
public static Func<X509Certificate, X509Chain, SslPolicyErrors, MqttClientTcpOptions, bool> CustomCertificateValidationCallback { get; set; }
|
||||
|
||||
public string Endpoint => _socket?.RemoteEndPoint?.ToString();
|
||||
|
||||
public async Task ConnectAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
if (_socket == null)
|
||||
|
||||
Reference in New Issue
Block a user