Added states handling to PeersHandler

This commit is contained in:
Konrad 2017-03-25 18:28:31 +01:00
parent 28d37c2968
commit cb32f304a9
2 changed files with 228 additions and 4 deletions

View file

@ -35,6 +35,12 @@ private:
void handleWildcard(Request& req, Response& resp);
void handleExamineCert(Request& req, Response& resp);
void handleGetStateString(Request& req, Response& resp);
void handleSetStateString(Request& req, Response& resp);
void handleGetCustomStateString(Request& req, Response& resp);
void handleSetCustomStateString(Request& req, Response& resp);
// a helper which ensures proper mutex locking
StateToken getCurrentStateToken();