Function registerSelf__

Synopsis

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

static void registerSelf__(const std::string &path, const std::vector< internal::HttpConstraint > &filtersAndMethods)

Description

No description yet.

Source

Lines 73-84 in lib/inc/drogon/HttpSimpleController.h.

static void registerSelf__(
    const std::string &path,
    const std::vector<internal::HttpConstraint> &filtersAndMethods)
{
    LOG_TRACE << "register simple controller("
              << HttpSimpleController<T, AutoCreation>::classTypeName()
              << ") on path:" << path;
    app().registerHttpSimpleController(
        path,
        HttpSimpleController<T, AutoCreation>::classTypeName(),
        filtersAndMethods);
}





Add Discussion as Guest

Log in