Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

160
Vistas
Preventing SocketIO Not To Create Namespace

I have a question about dynamic namespaces in socket.io.

I implemented a dynamic namespace with regex in socket.io and when a client want to join to namespace I want to be sure that if the client has authorization to join this namespace or not.

To handle this I added a middleware for dynamic namespaces to authorize client.

Here is the problem; in first time(namespace did not created yet) when a client want to join namespace(client does not have authorization), the namespace is created automatically by socket.io

Here is what I need; I do not want that socket.io creates namespace if the client has no authorization for namespace.

I search for that but I could not find anything about that.

Does socket.io has ability to handle this requirement?

Thank you very much

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda