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

Are there any plans to support MQTT-WS? #1172

Closed
wmmihaa opened this issue Feb 14, 2024 · 2 comments
Closed

Are there any plans to support MQTT-WS? #1172

wmmihaa opened this issue Feb 14, 2024 · 2 comments
Assignees

Comments

@wmmihaa
Copy link

wmmihaa commented Feb 14, 2024

Our customers have gateways sitting behind firewalls which are out of their control, in which case the gateway cannot communicate withthe IoT Hub using the MQTT protocol.

According to the documentation (/README.md) the python client only support MQTT. Are there any plans to support MQTT over websockets? If not, are there any workarounds for implementing this?

@cartertinney
Copy link
Member

cartertinney commented Feb 14, 2024

@wmmihaa

We do support WebSockets. You pass in the websockets=True keyword argument to your preferred client factory method, such as in this example

@cartertinney cartertinney self-assigned this Feb 14, 2024
@wmmihaa
Copy link
Author

wmmihaa commented Feb 15, 2024

Thank you!

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

No branches or pull requests

2 participants