SNode.C
|
#include "express/legacy/in6/WebApp.h"
#include "express/middleware/BasicAuthentication.h"
#include "express/middleware/StaticMiddleware.h"
#include "express/middleware/VHost.h"
#include "express/tls/in6/WebApp.h"
#include "utils/Config.h"
Go to the source code of this file.
Functions | |
Router | getRouter (const std::string &webRoot) |
int | main (int argc, char *argv[]) |
Router getRouter | ( | const std::string & | webRoot | ) |
Definition at line 59 of file testbasicauthentication.cpp.
References express::middleware::BasicAuthentication::BasicAuthentication.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 68 of file testbasicauthentication.cpp.
References express::middleware::BasicAuthentication::BasicAuthentication, core::socket::State::DISABLED, core::socket::State::ERROR, core::socket::State::FATAL, core::socket::Socket< ConfigT >::getConfig(), net::config::ConfigInstance::getInstanceName(), getRouter(), express::WebApp::init(), net::in6::stream::SocketServer< SocketAcceptorT, ConfigSocketServerT, SocketContextFactoryT, Args >::listen(), core::socket::State::OK, express::Response::send(), express::WebApp::start(), express::Response::status(), net::in6::SocketAddress::toString(), express::WebAppT< ServerT >::WebAppT(), and core::socket::State::what().