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-82 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>::classTypeName()
              << ") on path:" << path;
    app().registerHttpSimpleController(
        path, HttpSimpleController<T>::classTypeName(), filtersAndMethods);
}





Add Discussion as Guest

Log in