MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Namespaces | Functions
controller_api.h File Reference
#include <mist/socket.h>
#include <mist/json.h>

Go to the source code of this file.

Namespaces

 Controller
 Holds everything unique to the controller.
 

Functions

bool Controller::authorize (JSON::Value &Request, JSON::Value &Response, Socket::Connection &conn)
 Checks an authorization request for a given user. More...
 
void Controller::checkConfig (JSON::Value &in, JSON::Value &out)
 Check the submitted configuration and handle things accordingly. More...
 
int Controller::handleAPIConnection (Socket::Connection &conn)
 Handles a single incoming API connection. More...