Hooks seem to be pretty handy to extend the funcionality of ejabberd.
There are bunch of ejabberd hooks mentioned by the makers,but it difficult to understand which one is to be used when,apart from few.
can anybody share some details from their experiences that explains what a particular hook does?
ejabberd is a free and open source instant messaging server written in Erlang/OTP . ejabberd is cross-platform, distributed, fault-tolerant, and based on open standards to achieve real-time communication. ejabberd is designed to be a rock-solid and feature rich XMPP server.
There will be certain events on which you would like to trigger some action.Hooks couples your code with some components of ejabberd when an event occurs.You can write your own custom code(a.ka. Event Handler) and integrate it to ejabberd with HOOK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With