Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no way to set priority of and/or disable socket.io transport types #42

Closed
tommedema opened this issue Apr 9, 2011 · 1 comment
Closed

Comments

@tommedema
Copy link

Some developers will want a different priority of transport types.

Others will want to completely disable certain methods as they would be too laggy for the application to function or ask too much from the server.

Thus, it has to be possible to set this transport order and disable certain transports completely.

@ericz
Copy link
Contributor

ericz commented Apr 9, 2011

Hi tom, this has been fixed in version v0.5. You can pass in an options.socketio object to initialize. This object will be passsed straight into socketio initialization. For example:

 nowjs.initialize(httpServer, {socketio: {transports: ['websocket', 'htmlfile']}})

@ericz ericz closed this as completed Apr 9, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants