public Task HandleClientConnectedAsync(MqttServerClientConnectedEventArgs eventArgs) { return(_handler(eventArgs)); }
private static void MqttServerOnClientConnected(object sender, MQTTnet.Server.MqttServerClientConnectedEventArgs e) { Console.WriteLine("Client connected: " + e.ClientId); }