qhttpserver
qhttpserver copied to clipboard
How to get data from Main Class function when replying
How to get data from Main Class function (public variable in main class) when do the replying (in class Responder)?
From your example script of the bodydata (https://github.com/nikhilm/qhttpserver/tree/master/examples/bodydata), i added the public varible (example QString code = "123456") on class BodyData. And when receiving data, i can not get the value of variable "code" in class Responder. The main goal is to send value of "code" (123456) in class Responder. Please help me. I will appriciate your help.
Thank you.