Skip to content

Sending query strings with connect() #18

Open
@razvanilin

Description

@razvanilin

This feature seems to be missing from this package. I checked the code and the connect() method doesn't take any parameters.

With pure socket.io you can do something like this:
io.connect(socketUrl, {query: "email=" + store.get('profile').email + "&type=pc"})

I tried passing the query string like this:
new SocketIO(socketUrl, {query: "[email protected]&type=web"});

The above doesn't work though. I'm not able to get the query string on my server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions