Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.Azure.IoT.Gateway/ message content type #114

Closed
almusawi opened this issue Feb 2, 2018 · 2 comments
Closed

Microsoft.Azure.IoT.Gateway/ message content type #114

almusawi opened this issue Feb 2, 2018 · 2 comments

Comments

@almusawi
Copy link

almusawi commented Feb 2, 2018

Hi,

I am using Iot hub edge (V1) and it works fine in sending the data. but by using Microsoft.Azure.IoT.Gateway ,the message class, I can not set the content type for the message before sending it to the Iothub. and I can not use the Microsoft.Azure.Devices.Client in the Iot edge model which has in the message class the message.ContentEncoding = "utf-32" and message.ContentType = "application/json";.

Could you please help in that? How to add the content type to a message send by IoT edge model to Iot hub?

Thanks

@damonbarry
Copy link
Member

I've copied this issue to the iot-edge repo, so you can close this one.

@nayato
Copy link
Member

nayato commented Feb 2, 2018

closing in favor of Azure/iot-edge-v1#505

@nayato nayato closed this as completed Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants