Module mqtt.loop.nginx

Nginx specific client handling module.

Typically this module is not used directly, but through mqtt.loop when auto-detecting the environment.

Functions

add (client) Add MQTT client to the Nginx environment.


Functions

add (client)
Add MQTT client to the Nginx environment. The client will automatically be removed after it exits. It will set up a thread to call Client:check_keep_alive.

Parameters:

  • client mqtt-client to add to the Nginx environment

Returns:

    true on success or false and error message on failure
generated by LDoc 1.5.0 Last updated 2024-10-13 22:14:17