Can I upload a file to server by socket.io in node.js?

后端 未结 5 1328
情歌与酒
情歌与酒 2020-12-07 18:02

I have a socket.io client to whom socket.io server is listening in node.js. I want to upload a file to server by socket.io. be

5条回答
  •  旧时难觅i
    2020-12-07 18:10

    Here is an example of sending a file over socket.io: http://liamkaufman.com/blog/2012/02/11/12-pushing-files-to-the-browser-using-deliveryjs-socketio-and-nodejs/

提交回复
热议问题