Hi,
Just a question but, would be xmlhttprequest suited for your needs ? You have an example here [qt-project.org]
That would exactly be the interface I need, but I want to make my own class. The http request was just an example, the goal is to do different request/reply functionality. For example remote procedure calls. I looked into the code of xmlhttprequest, but it’s heavy javascript based. My goal is to have class useable from C++ and QML.
Using the finished() signal of the accessManager is also an option, but this would require a big selector for the response function, if I want a special response function for every request.
↧










