RetroShare/libresapi/src/api/IdentityHandler.h

20 lines
388 B
C++

#pragma once
#include "ResourceRouter.h"
class RsIdentity;
namespace resource_api
{
class IdentityHandler: public ResourceRouter
{
public:
IdentityHandler(RsIdentity* identity);
private:
RsIdentity* mRsIdentity;
void handleWildcard(Request& req, Response& resp);
ResponseTask *handleOwn(Request& req, Response& resp);
};
} // namespace resource_api