Skip to content
Discussion options

You must be logged in to vote

The ReceiveAsync API exists solely on the device client because the device client can use HTTP (which can poll for c2d messages).

The module client only supports MQTT or AMQP protocols, and neither of those protocols supports polling to receive a c2d message. The module client still has the Complete/AbandonAsync APIs so that you can positively/negatively acknowledge a c2d message that has been received in the c2d callback handler

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 timtay-microsoft
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