F
F
fraps012018-05-04 07:39:28
Node.js
fraps01, 2018-05-04 07:39:28

Can io.emit('connection') be used?

Is it possible to write io.emit('connection'); at the end of the code? ?//connection - loading data when entering the site
That is, reloading all the information about the site. (In the beginning it says io.on('connection');
Or does it not work?
The goal is to re-update all the data, which are written in io.on('connection')

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question