qhttpserver icon indicating copy to clipboard operation
qhttpserver copied to clipboard

How to get data from Main Class function when replying

Open NoobLearnCode opened this issue 5 years ago • 0 comments

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.

NoobLearnCode avatar Apr 23 '20 02:04 NoobLearnCode