Skip to content

Understanding namespaces inside the client URLs #7

@jjoschyy

Description

@jjoschyy

Hello

Thanks a lot for the spec. Except for "namespaces", i was able to get a good understandment of the Socket.IO Protocol. The following questions occured. Is it right that:

  • On a "handshake" the namespace is NO part of the URL (e.g. http://localhost/socket.io/1)?
  • On creating a websocket transport connection, the namespace is NO part of the URL (e.g. ws://localhost/socket.io/1/websocket/234234234)?

If I replace "socket.io" inside the URL with a custom namespace, i got no valid connection. The server says "non-socket.io upgrade". Therefore, in which URL do I have to set the namespace?

Best regards,
Joachim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions