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

Change query of current instance #98

Open
FlawaCLV opened this issue May 15, 2020 · 1 comment
Open

Change query of current instance #98

FlawaCLV opened this issue May 15, 2020 · 1 comment

Comments

@FlawaCLV
Copy link

Is there a way to change the query without having to create a new instance ?

const socket = new SocketIO(url, {
    query: {
        foo: "bar"
    }
});

Could be great to do be able to do something like this

socket.query = {
    foo: "bar"
};
@flodaniel
Copy link

+1

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

No branches or pull requests

3 participants