Skip to content
Snippets Groups Projects
Commit e2b39dd3 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

http/request: make terminate public

parent 9dc0ce73
No related branches found
No related tags found
No related merge requests found
......@@ -294,6 +294,7 @@ public:
* User action to cancel the Request and call the completion callbacks.
*/
void cancel();
void terminate(const asio::error_code& ec);
private:
using OnCompleteCb = std::function<void()>;
......@@ -320,8 +321,6 @@ private:
void connect(std::vector<asio::ip::tcp::endpoint>&& endpoints, HandlerCb cb = {});
void terminate(const asio::error_code& ec);
void post();
void handle_request(const asio::error_code& ec);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment