2021-10-10 22:39:35 +02:00
|
|
|
#ifndef HANDLERVERSION_H
|
|
|
|
#define HANDLERVERSION_H
|
|
|
|
#include "handler.h"
|
|
|
|
class HandlerVersion : public Handler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
using Handler::Handler;
|
|
|
|
|
|
|
|
public:
|
|
|
|
Response handleRequest(const Request &r) override;
|
|
|
|
|
2021-10-25 17:56:37 +02:00
|
|
|
bool canAccess([[maybe_unused]] const Permissions &perms) override
|
2021-10-10 22:39:35 +02:00
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // HANDLERVERSION_H
|