+ 1
progress bar using Socket
Is progress bar can only be implement with the help of socket ? I am taking about the real time progress bar that tell us the file uploading % or file downloding % like in drop box, Google driver and MEGA.
2 Respostas
+ 1
Finally i figure out the different way, which are sse, long polling and obviously the socket.
With the help of all these you can update your progress bar in real time.
+ 2
I generally prefer to use 2 div tags to make a progress bar!
And this is a more convenient form of showing a progress bar!
See the js part!
https://code.sololearn.com/WpI4EnuBYR2i/?ref=app