Was playing around with this project and wanted to be able to do file uploads. My form submits the event, but I'm noticing that the event is missing all the data.
{"t":"upload","i":1,"d":{"myFile":{}}}
I just skimmed the project, but from what I can tell, you'd need to slice the file into smaller chunks to send over WebSocket stream, then reassemble the file on the server side. It'd probably require reworking LiveEvent and Socket.send to support this lower level operation?
Maybe I'm missing something and this already works, if so it'd be a good example to have.
Originally posted by @silasb in #47
Was playing around with this project and wanted to be able to do file uploads. My form submits the event, but I'm noticing that the event is missing all the data.
I just skimmed the project, but from what I can tell, you'd need to slice the file into smaller chunks to send over WebSocket stream, then reassemble the file on the server side. It'd probably require reworking
LiveEventandSocket.sendto support this lower level operation?Maybe I'm missing something and this already works, if so it'd be a good example to have.
Originally posted by @silasb in #47