]> granicus.if.org Git - ejabberd/commit
Add WebSockets support to mod_mqtt
authorEvgeny Khramtsov <ekhramtsov@process-one.net>
Tue, 23 Apr 2019 16:18:22 +0000 (19:18 +0300)
committerEvgeny Khramtsov <ekhramtsov@process-one.net>
Tue, 23 Apr 2019 16:18:22 +0000 (19:18 +0300)
commitedba1aebb51a7bb4f8a5f4f069fba3ed9540d729
treeb6467b7582c38afd1edef8411ac99b478609e360
parentd2ea9059262e4119004d4f70cdaed6c530e385fc
Add WebSockets support to mod_mqtt

Example configuration:

listen:
  ...
  -
    port: 5280
    module: ejabberd_http
    request_handlers:
      "/mqtt": mod_mqtt

modules:
  ...
  mod_mqtt: {}
src/mod_mqtt.erl
src/mod_mqtt_session.erl
src/mod_mqtt_ws.erl [new file with mode: 0644]