anoopc/node-xmpp-via-bosh — pull request #1 by eelcocramer (2011-12-15 12:15:16+00:00)
Title: Some changes and fixes for node-xmpp-via-bosh

Hi Anoop,

I came across your work on XMPP via BOSH but was not able to use it completely. I had some issues with the session setup and noticed a hardcoded 'localhost' still in the code.

I fixed these issue and the code is working for me now. I have tested it with an Openfire XMPP server.

Some other issues that I fixed are:

- the send function now tries to get the top of the XML structure (like node-xmpp does).
- I changed the constructor so you can now specify a full url of the BOSH server.
- I changed the layout of the project (examples or now in ./examples and the main code is in ./lib).
- Updated the readme.
- Updated the package.json

Feel free to incorporate my code if you like.

Best regards,
Eelco