Function run

Synopsis

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

virtual void run()=0

Description

Run the event loop.

Calling this method starts the IO event loops and the main loop of the application; This method can be called in the main thread or any other thread. This method blocks the current thread until the main event loop exits.

Mentioned in

Source

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






Add Discussion as Guest

Log in to DocsForge