SNode.C
|
#include "express/legacy/in/WebApp.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
static std::map< std::string, std::string > | jalousien |
static std::map< std::string, std::string > | actions = {{"open", "up"}, {"close", "down"}, {"stop", "stop"}} |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 67 of file warema-jalousien.cpp.
References actions, core::socket::State::DISABLED, core::socket::State::ERROR, core::socket::State::FATAL, core::socket::Socket< ConfigT >::getConfig(), net::config::ConfigInstance::getInstanceName(), express::WebApp::init(), jalousien, net::in::stream::SocketServer< SocketAcceptorT, ConfigSocketServerT, SocketContextFactoryT, Args >::listen(), core::socket::State::OK, express::Request::param(), express::Request::query(), express::Response::send(), express::WebApp::start(), express::Response::status(), net::in::SocketAddress::toString(), express::WebAppT< ServerT >::WebAppT(), and core::socket::State::what().
|
static |
Definition at line 65 of file warema-jalousien.cpp.
Referenced by main().
|
static |
Definition at line 56 of file warema-jalousien.cpp.
Referenced by main().