RetroShare/libresapi/src/api/ServiceControlHandler.h

22 lines
440 B
C
Raw Normal View History

#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);
2016-03-22 11:33:05 -04:00
void handleUser(Request& req, Response& resp);
};
} // namespace resource_api