Sending HTTP headers during initial MQTT connection over websockets

Hardwood2112
Posts: 1
Joined: Mon Jan 22, 2024 10:28 pm

Sending HTTP headers during initial MQTT connection over websockets

Postby Hardwood2112 » Mon Jan 22, 2024 10:39 pm

Hello!

I have a MQTT broker that is behind Cloudflare Access, for services to access that MQTT broker over Websocket I need to send 2 additional headers during the initial connection. The ESP-IDF MQTT Client implementation doesn't seem to allow for any extra headers to be passed during the initial HTTPS connection. Does anyone know of a way this could be implemented?

Who is online

Users browsing this forum: Majestic-12 [Bot] and 100 guests