Skip to content
Discussion options

You must be logged in to vote

The ApplicationMessageReceivedHandler in the server works the same as in the client, but has the clientId as additional field: https://github.com/chkr1011/MQTTnet/wiki/Server#consuming-messages, https://github.com/chkr1011/MQTTnet/wiki/Client#consuming-messages.

Your example code with the delegate should work, as you found out, with async methods.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SeppPenner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants