A
A
Anarxsid2014-09-22 16:22:57
Node.js
Anarxsid, 2014-09-22 16:22:57

How to send image to server using socket.io?

It is necessary to carry out a synchronous output of pictures, on node+socket. There are options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2014-09-22
@Anarxsid

We display the image on the canvas and take the array using toDataURL, which we send to the server via the socket.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question