Open SEAPUNK opened 8 years ago
new socketeer.Server({}) should only accept the existing ws server, not create its own (server) option
new socketeer.Server({})
server
createServer, however, can create the ws server, and then return the class instance with createServer's created ws instance attached to it
createServer
new socketeer.Server({})
should only accept the existing ws server, not create its own (server
) optioncreateServer
, however, can create the ws server, and then return the class instance withcreateServer
's created ws instance attached to it