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

Mark this library as deprecated and give a better alternative in README #9

wants to merge 1 commit into
base: master


None yet
1 participant

japsu commented Mar 14, 2017

This library is no longer required on Node.js due to the fact that the library nowadays has built-in support for setting extra headers such as cookies:

const io = require('');

const cookie = 'connect.sid=xyz';
const socket = io(url, { path, extraHeaders: { cookie } });

This is documented in the underlying library:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment