Function registerSelf__

Synopsis

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

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

Description

No description yet.

Source

Lines 82-91 in lib/inc/drogon/WebSocketController.h.

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





Add Discussion as Guest

Log in