diff options
Diffstat (limited to 'libcurl/curl_wrap.h')
-rw-r--r-- | libcurl/curl_wrap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcurl/curl_wrap.h b/libcurl/curl_wrap.h index ea91072c..3dbdc3ba 100644 --- a/libcurl/curl_wrap.h +++ b/libcurl/curl_wrap.h @@ -55,7 +55,7 @@ public: const std::vector<std::string>& extraHeaders, const std::vector<CurlOption>& extraOptions, const std::function<void (std::span<const char> buf)>& writeResponse /*throw X*/, //optional const std::function<size_t(std::span< char> buf)>& readRequest /*throw X*/, //optional; return "bytesToRead" bytes unless end of stream! - const std::function<void (const std::string_view& header)>& receiveHeader /*throw X*/, + const std::function<void(const std::string_view& header)>& receiveHeader /*throw X*/, int timeoutSec); //throw SysError, X std::chrono::steady_clock::time_point getLastUseTime() const { return lastSuccessfulUseTime_; } |