Closing QHttpServer
-
Hi all, I am using a QHttpServer in my code and would like to close any open connections or kill the server after I have finished processing the data recieved in a request but looking through the documentation it doesn't seem like there is any way to close connections or kill the server?
I tried to use the delete keyword on the server but that doesn't seem to accomplish what I am looking for and there is no close() member function?
Will I have to use a QTCPServer instead to access this functionality or am I missing something obvious?
-
Hi all, I am using a QHttpServer in my code and would like to close any open connections or kill the server after I have finished processing the data recieved in a request but looking through the documentation it doesn't seem like there is any way to close connections or kill the server?
I tried to use the delete keyword on the server but that doesn't seem to accomplish what I am looking for and there is no close() member function?
Will I have to use a QTCPServer instead to access this functionality or am I missing something obvious?
@WallPulse But every connection you open has a close() function which you can call.