lib/curl/Request: add constructor with CurlEasy parameter

This commit is contained in:
Max Kellermann
2021-12-07 12:00:45 +01:00
committed by Max Kellermann
parent f8338d4f00
commit 47ca4246aa
2 changed files with 10 additions and 3 deletions

View File

@@ -67,9 +67,9 @@ class CurlRequest final {
bool registered = false;
public:
/**
* To start sending the request, call Start().
*/
CurlRequest(CurlGlobal &_global, CurlEasy easy,
CurlResponseHandler &_handler);
CurlRequest(CurlGlobal &_global,
CurlResponseHandler &_handler);