diff options
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index 9cde7d3..3a10d14 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -75,6 +75,13 @@ answer_type Connection::put(const endpoint_variant &endpoint, endpoint_to_uri(endpoint), parameters); } +answer_type Connection::del(const endpoint_variant &endpoint, + const parametermap ¶meters) +{ + return make_request(http_method::DELETE, + endpoint_to_uri(endpoint), parameters); +} + string Connection::get_new_stream_contents() { buffer_mutex.lock(); |