This module is based on the node-xmpp-via-bosh code by eelcocramer. So, many thanks go to him. I basically took his code and stripped away what I didn't need for prebinding.
billstron / node-bosh-prebind Goto Github PK
View Code? Open in Web Editor NEWA prebind module for xmpp over bosh