On 21 January 2016 at 01:15, Harsha Bellur <hbel...@gmail.com> wrote: > Hi Mathew, > > Perhaps I should not be using fire_event(). > What I am attempting to do is capture all "muc_events" (such as join room, > leave room...) in a MUC room and send it via HTTP. > I have written a module that incorporates a handler which does a HTTP post > of the events received. This, in my opinion, must be an asynchronous > operation.
Prosody's HTTP client API, net.http, provides an asynchronous HTTP post. Documentation is here: https://prosody.im/doc/developers/net/http Regards, Matthew -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to prosody-dev+unsubscr...@googlegroups.com. To post to this group, send email to prosody-dev@googlegroups.com. Visit this group at https://groups.google.com/group/prosody-dev. For more options, visit https://groups.google.com/d/optout.