Switch to drogon
This commit is contained in:
@@ -5,14 +5,13 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
#include "server.hpp"
|
||||
#include "httplib.hpp"
|
||||
|
||||
namespace simple_object_storage {
|
||||
|
||||
class PutHandler {
|
||||
public:
|
||||
PutHandler(Server& server);
|
||||
void handle_put_object(const httplib::Request& req, httplib::Response& res);
|
||||
void handle_put_object(const drogon::HttpRequestPtr& req, std::function<void(const drogon::HttpResponsePtr &)>&& callback);
|
||||
|
||||
private:
|
||||
Server& server_;
|
||||
|
Reference in New Issue
Block a user