Function instance

Synopsis

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

static HttpAppFramework & instance()

Description

Get the instance of HttpAppFramework.

HttpAppFramework works at singleton mode, so any calling of this method gets the same instance; Calling drogon::HttpAppFramework::instance() can be replaced by a simple interface - drogon::app()

Mentioned in

Source

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






Add Discussion as Guest

Log in to DocsForge