Function quit

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual void quit()=0

Description

Quit the event loop.

Calling this method results in stopping all network IO in the framework and interrupting the blocking of the run() method. Usually, after calling this method, the application exits (when the run() method is called in the main thread).

Note
This method can be called in any thread and anywhere. This method should not be called before calling run().

Source

Line 104 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in