I am running nginx which proxies messages to prosody.

I have a device connected over a websocket to prosody. The only way to 
communicate to the device from outside is sending private IQ messages to 
the device. That said I can think of 2 approaches

1. Open a new port for receiving HTTP requests which can then be converted 
to an appropriate stanza before sending to the device. if this approach is 
better, then how do I fire an event for the session manager to forward this 
stanza to the connected device

2. Create a new component that acts as a HTTP server as well as a TCP 
client/server (connected to prosody). 

Any thoughts on this?


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.

Reply via email to