DEV Community

Discussion on: Nuxt Socket.IO: Connection Status and Error Handling Made Easy

kimseangha profile image

I am a developer who is developing using nuxt.

I'm asking because something difficult came up.

  1. ConnectTimeout exists in statusProp, does this mean the time before reconnecting when socket connection fails?

  2. How do I use the nuxt socket timeout?
    I checked the data using statusProp, but I want to set the value of connectTimeout inside. I don't know how to set it up.

Please help me.

richardeschloss profile image
Richard Schloss Author

Hi, this article was written a while ago. The newest version of doesn't emit the "connectTimeout" event. Please try upgrading.