Can use qjson-rpc to send a file?

Issue #24 resolved
hezhongfeng created an issue

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)

  1. Matt Broadstone

    @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.

  2. Log in to comment