SEAPUNK / socketeer

yet another websocket framework
MIT License
3 stars 0 forks source link

move ws server creation into its own function (createServer) #79

Open SEAPUNK opened 8 years ago

SEAPUNK commented 8 years ago

new socketeer.Server({}) should only accept the existing ws server, not create its own (server) option

createServer, however, can create the ws server, and then return the class instance with createServer's created ws instance attached to it