Sunday, 15 August 2010

node.js - Does socket.io need an https object to start a wss server? -



node.js - Does socket.io need an https object to start a wss server? -

currently origin of socket.io server looks , works fine using wss protocol want:

var io = socket_io.listen( https.createserver( ssloptions ).listen( 3000 ) );

i start socket.io server connect on ssl using wss protocol wondering if starting , passing https server object necessary/required. have looked @ docs , skimp , did not find answer, help appreciated.

node.js socket.io

No comments:

Post a Comment