xmppo / node-xmpp-bosh

An XMPP BOSH & WebSocket server (connection manager) written on node.js using Javascript
https://github.com/xmppo/node-xmpp-bosh
263 stars 85 forks source link

Minor refactoring task - HTTPServer's constructor parameters #5

Open dhruvbird opened 12 years ago

dhruvbird commented 12 years ago

Make the HTTPServer() constructor function take in a hash-map so that the parameters are self documenting. Currently, the long string of parameters makes it hard to see what each one does.

Also, maybe "http" to something else in bosh.js since it might be misinterpreted to be the node.js default http module.