wobsoriano / nuxt3-socket.io

Nuxt 3 and Socket.io integration.
59 stars 9 forks source link

useSocket composable #15

Open ivan-skjavik opened 8 months ago

ivan-skjavik commented 8 months ago

The useSocket composable initialises a socket straight away on the default endpoint "/". In my case the socket needs some auth data sent or else the server will reject it and an error will print in the console.

Is it possible to disable the useSocket and only use the useIO composables?