Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

162
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda