Mercurial > prosody-modules
view mod_s2s_reload_newcomponent/README.markdown @ 2976:df86ce6bb0b4
Implement dummy body message to indicate high priority push
This adds a dummy body sent alongside the push when the original message
also contained a body to indicate a high priority push.
The body can be configured and its contents are generally meaningless
with most app servers because it will be stripped before pushed to the client.
author | tmolitor <thilo@eightysoft.de> |
---|---|
date | Sun, 01 Apr 2018 23:24:33 +0200 |
parents | 4d73a1a6ba68 |
children |
line wrap: on
line source
--- labels: summary: | Module to automatically load new components when config:reload is done in console ... Introduction ============ Currently, module:reload command in console doesn't load new components. This module will automatically load the new components (if any) when the config:reload command is run in the console. Details ======= In order to use the plugin, simply load the plugin by adding "s2s\_reload\_newcomponent" to the modules enabled list. The plugin requires configuration to be reloaded via console plugin's config:reload() command. Now, add a new component in the prosody configuration and then run config:reload() command in the console plugin. The new component should become active in prosody at this point and can be used. Dependency ========== Needs console plugin to reload configuration. Compatibility ============= ----- ------- 0.7 works ----- -------