MqttNet - How to implement MQTT server (broker) to receive messages that were published by MQTT client

1.3k Views Asked by At

I want to get sensor data that are published by a mqtt client. The client connect to my server but I cannot found any event on MqttServer that handle published messages by the client. Is it possible or is there any example about it ?

P.S: In the old versions Mqttnet server has UseApplicationMessageReceivedHandler that handle incoming messages.

Find an example or solution about subscribing in a server (broker).

0

There are 0 best solutions below