Can use qjson-rpc to send a file?
Issue #24
resolved
Hi, now I want to use it to send a full message,this message include a video file and some information. But I don't know how to send. Looking forward to your answer.
Comments (2)
-
-
- changed status to resolved
- Log in to comment
@hezhongfeng hey, sorry I was on vacation. You can definitely send a file, although it will incur non-trivial overhead unfortunately. In order to send a file you will need to encode the data somehow (generally base64 encode the data) and send it as a QByteArray.