Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some changes and fixes for node-xmpp-via-bosh #1

Merged
merged 20 commits into from
Mar 31, 2012

Conversation

eelcocramer
Copy link

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

Eelco added 20 commits December 15, 2011 12:55
Fixed the following issues:
- Added URL to the constructor of the component in favor of hostname
and port.
- Fixed some issues that I was having when starting a session.
- The send method now first gets the top the XML structure.
- Changed the example to work with the new API.
anoopc added a commit that referenced this pull request Mar 31, 2012
Some changes and fixes for node-xmpp-via-bosh
@anoopc anoopc merged commit ca844fd into anoopc:master Mar 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants