SNode.C
|
#include <SocketContextUpgradeFactorySelector.h>
Public Member Functions | |
SocketContextUpgradeFactory * | select (Request &req, Response &res) override |
![]() | |
bool | add (SocketContextUpgradeFactory *socketContextUpgradeFactory) |
void | link (const std::string &socketContextUpgradeName, SocketContextUpgradeFactory *(*linkedPlugin)()) |
void | allowDlOpen () |
void | unload (SocketContextUpgradeFactory *socketContextUpgradeFactory) |
Static Public Member Functions | |
static SocketContextUpgradeFactorySelector * | instance () |
Private Types | |
using | Super = web::http::SocketContextUpgradeFactorySelector< web::http::server::SocketContextUpgradeFactory > |
Private Member Functions | |
SocketContextUpgradeFactory * | load (const std::string &socketContextUpgradeName) override |
Additional Inherited Members | |
![]() | |
using | SocketContextUpgradeFactory = web::http::server::SocketContextUpgradeFactory |
using | Request = typename SocketContextUpgradeFactory::Request |
using | Response = typename SocketContextUpgradeFactory::Response |
![]() | |
SocketContextUpgradeFactorySelector ()=default | |
virtual | ~SocketContextUpgradeFactorySelector ()=default |
SocketContextUpgradeFactory * | select (const std::string &socketContextUpgradeName) |
bool | add (SocketContextUpgradeFactory *socketContextUpgradeFactory, void *handler) |
SocketContextUpgradeFactory * | load (const std::string &socketContextUpgradeName, const std::string &socketContextUpgradeFactoryLibraryFile, const std::string &socketContextUpgradeFactoryFunctionName) |
Definition at line 56 of file SocketContextUpgradeFactorySelector.h.
|
private |
Definition at line 59 of file SocketContextUpgradeFactorySelector.h.
|
static |
Definition at line 79 of file SocketContextUpgradeFactorySelector.cpp.
Referenced by web::http::server::SocketContextUpgradeFactory::checkRefCount(), web::http::server::SocketContextUpgradeFactory::link(), and web::http::server::Response::upgrade().
|
overrideprivatevirtual |
Implements web::http::SocketContextUpgradeFactorySelector< web::http::server::SocketContextUpgradeFactory >.
Definition at line 64 of file SocketContextUpgradeFactorySelector.cpp.
|
overridevirtual |
Implements web::http::SocketContextUpgradeFactorySelector< web::http::server::SocketContextUpgradeFactory >.
Definition at line 85 of file SocketContextUpgradeFactorySelector.cpp.
References web::http::server::Request::get(), web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::prepare(), web::http::SocketContextUpgradeFactorySelector< SocketContextUpgradeFactoryT >::select(), httputils::str_split(), httputils::str_trimm(), and httputils::to_lower().
Referenced by web::http::server::Response::upgrade().