SNode.C
|
#include <SocketContextUpgrade.h>
Private Attributes | |
web::websocket::SubProtocolFactory< SubProtocol > * | subProtocolFactory = nullptr |
Definition at line 73 of file SocketContextUpgrade.h.
web::websocket::server::SocketContextUpgrade::SocketContextUpgrade | ( | core::socket::stream::SocketConnection * | socketConnection, |
web::http::SocketContextUpgradeFactory< web::http::server::Request, web::http::server::Response > * | socketContextUpgradeFactory | ||
) |
Definition at line 54 of file SocketContextUpgrade.cpp.
References web::websocket::SocketContextUpgrade< SubProtocolT, RequestT, ResponseT >::SocketContextUpgrade(), and web::websocket::client::SubProtocol::web::websocket::SocketContextUpgrade.
Referenced by web::websocket::server::SocketContextUpgradeFactory::create().
|
override |
Definition at line 61 of file SocketContextUpgrade.cpp.
References web::websocket::SubProtocolFactory< SubProtocolT >::deleteSubProtocol(), web::websocket::server::SubProtocolFactorySelector::instance(), and subProtocolFactory.
std::string web::websocket::server::SocketContextUpgrade::loadSubProtocol | ( | const std::list< std::string > & | subProtocolNames | ) |
Definition at line 69 of file SocketContextUpgrade.cpp.
References web::websocket::SubProtocolFactory< SubProtocolT >::createSubProtocol(), web::websocket::server::SubProtocolFactorySelector::instance(), web::websocket::SubProtocolFactorySelector< SubProtocolFactoryT >::select(), and subProtocolFactory.
Referenced by web::websocket::server::SocketContextUpgradeFactory::create().
|
private |
Definition at line 85 of file SocketContextUpgrade.h.
Referenced by loadSubProtocol(), and ~SocketContextUpgrade().