Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!