Skip to content

Enhancement namespaces of socket.io #6

@mechamogeo

Description

@mechamogeo

I Think if is possible, allow the use of any namespace if the namespace is not defined in SocketIOProvider.
Today if i not pass a namespace and try to use in useEmit or useSocket, the lib throw a error saying "The namespace is not defined"

But if working this way, i have possibility to create dynamic rooms using regex in server side like in docs of Socket.io Namespaces

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