'Generic Commit'
Some checks failed
Build-Test-Publish / Build (push) Failing after 1m47s

This commit is contained in:
Your Name
2025-06-02 00:27:48 +12:00
parent 4259f6d960
commit d8e15f3f19
6 changed files with 141 additions and 0 deletions

16
src/update_handler.hpp Normal file
View File

@@ -0,0 +1,16 @@
#pragma once
#include "server.hpp"
#include <memory>
#include <nlohmann/json.hpp>
namespace simple_object_storage {
class UpdateHandler {
public:
explicit UpdateHandler(Server& server);
void handle_update_object(const httplib::Request& req, httplib::Response& res);
private:
Server& server_;
};
} // namespace simple_object_storage