Commit 49333b1b authored by Domen Soklic's avatar Domen Soklic

Also added PATCH method to client.

parent bc1a5d81
......@@ -323,6 +323,7 @@ public:
RequestBuilder get(std::string resource);
RequestBuilder post(std::string resource);
RequestBuilder put(std::string resource);
RequestBuilder patch(std::string resource);
RequestBuilder del(std::string resource);
void shutdown();
......
......@@ -793,6 +793,12 @@ Client::put(std::string resource)
return prepareRequest(std::move(resource), Http::Method::Put);
}
RequestBuilder
Client::patch(std::string resource)
{
return prepareRequest(std::move(resource), Http::Method::Patch);
}
RequestBuilder
Client::del(std::string resource)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment