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

169
Views
Socket.io: How to change server options on runtime

Currently I am using Socket.io connection in my application. Below is my server socket.io code.

    const SocketOptions = {
      pingTimeout: 60000,
      maxHttpBufferSize: 1024 *XXX*XXX
      transports: [ "polling", "websocket"]
    }
   const io = socket.io( MY_SERVER, SocketOptions )

Currently, I need to set "path" of the server option on runtime means dynamically. My question is below.

  1. Is changing socket.io server options is valid?
  2. If yes How to do it?

I would be helpful if anyone help me to solve this. Thanks in advance.

about 4 years ago · Santiago Gelvez
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!