RetroShare/libresapi/src/api/ServiceControlHandler.h
2016-03-22 16:33:05 +01:00

22 lines
440 B
C++

#pragma once
#include "ApiTypes.h"
#include "ResourceRouter.h"
class RsServiceControl;
namespace resource_api
{
class ServiceControlHandler: public ResourceRouter
{
public:
ServiceControlHandler(RsServiceControl* control);
private:
RsServiceControl* mRsServiceControl;
void handleWildcard(Request& req, Response& resp);
void handleUser(Request& req, Response& resp);
};
} // namespace resource_api