- 
    Suggestion 
- 
    Resolution: Done
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    6.0
- 
    None
Hi.
 I would really love to be able to handle http requests asynchronously from route handler execution.
httpServer.route("/", [] (const QHttpServerRequest &request) { QTimer::singleShot(100, [httpServer, request] () { if(httpServer.isValid(request)) request.respond("Hello, world."); } return QHttpServer::DeferredResponse; });
Basicaly, I'd like to store some context in the route handler, send a queued signal to object in other thread, do something there, return via queued signal back to the http server thread, and, finally, write a response.
Do you mind telling, if there is a way to modify QHttpServer to make this possible, or do I just stick to QAbstractHttpServer?
Thanks.