This commit is contained in:
16
src/update_handler.hpp
Normal file
16
src/update_handler.hpp
Normal 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
|
Reference in New Issue
Block a user