Function registerWebSocketController

Synopsis

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

virtual HttpAppFramework & registerWebSocketController(const std::string &pathName, const std::string &crtlName, const std::vector< internal::HttpConstraint > &filtersAndMethods=std::vector< internal::HttpConstraint >{})=0

Description

Register a WebSocketController into the framework.

The parameters of this method are the same as those in the registerHttpSimpleController() method.

Source

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






Add Discussion as Guest

Log in