After calling socket.disconnect() on the client side, I try to reconnect that client io.connect("http://localhost:8000") but the socket does not seem to be created. Is this possible to do without a page refresh?
After calling socket.disconnect() on the client side, I try to reconnect that client io.connect(http://localhost:8000)
Share
If you have a socket created with something like
in your client-side JS, you can reconnect via