Once the socket is connected, we get access to this.$socket object within the component,
but there's no way to update the query parameter (for example to mark client reconnection).
In socket.io itself you can do socket.socket.options.query = 'whatever=whatever; to update the query, which will be used when the connect method is called the next time.
Could we introduce a way to update the query params of socket connection after the initialisation?
Hello, thank you for porting the package to Vue3.
Once the socket is connected, we get access to
this.$socket
object within the component, but there's no way to update thequery
parameter (for example to mark client reconnection).In socket.io itself you can do
socket.socket.options.query = 'whatever=whatever;
to update the query, which will be used when theconnect
method is called the next time.Could we introduce a way to update the query params of socket connection after the initialisation?