Native MQTT support for browsers?

70 views
Skip to first unread message

Nicholas Humfrey

unread,
Sep 23, 2016, 9:40:20 AM9/23/16
to MQTT
Hello,

As anyone looked at adding native MQTT protocol support to a web browser?
I guess the biggest problem is the permissions model / security sandbox- connecting to the same host might not be that useful.

I have been thinking about using a headless browser as a runtime environment for running JavaScript application within...


nick.

Nicholas Humfrey

unread,
Sep 23, 2016, 11:36:47 AM9/23/16
to MQTT
Related to this I have just seen there is a COAP plugin for Firefox that registers the coap:// URI scheme and protocol:

But I guess COAP fits a lot more closely with HTTP in a browser environment.
Would probably only make sense to use MQTT protocol from JavaScript?

nick.

Paul Fremantle

unread,
Sep 23, 2016, 3:53:47 PM9/23/16
to mq...@googlegroups.com
Nick

I'm not clear what the benefit would be over existing JS / WebSockets / MQTT apps that work just fine.

Paul

--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+unsubscribe@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.



--
Paul Fremantle
Part-time PhD student - School of Computing
twitter: pzfreo / skype: paulfremantle / blog: http://pzf.fremantle.org
Co-Founder, WSO2
Apache Member and Committer
07740 199 729

Hans Jespersen

unread,
Sep 24, 2016, 4:52:19 PM9/24/16
to MQTT
Node.js is basically a "headless browser" for javascript and there are several node.js mqtt client and broker implementations you can use.

-hans

Reply all
Reply to author
Forward
0 new messages