nikhilm / qhttpserver

HTTP server implementation for Qt based on node.js' http parser

Home Page:http://kodeclutz.blogspot.com/2011/02/qhttpserver-web-apps-in-qt.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get data from Main Class function when replying

NoobLearnCode opened this issue · 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.