aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/clients/httpclientcpr.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-10-17 11:36:49 +0200
committerGitHub Enterprise <[email protected]>2025-10-17 11:36:49 +0200
commit2e99697d4922f37e9304ec360602fed71c8a306e (patch)
tree5a0d241ae483ae870a8f4e7b7b548e11fc9f0c1d /src/zenhttp/clients/httpclientcpr.h
parentexclude .sym and .psym (#585) (diff)
downloadzen-2e99697d4922f37e9304ec360602fed71c8a306e.tar.xz
zen-2e99697d4922f37e9304ec360602fed71c8a306e.zip
add ability to abort http requests (#586)
* add abort-check function to httpclient
Diffstat (limited to 'src/zenhttp/clients/httpclientcpr.h')
-rw-r--r--src/zenhttp/clients/httpclientcpr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/clients/httpclientcpr.h b/src/zenhttp/clients/httpclientcpr.h
index ed9d10c27..26cc59d23 100644
--- a/src/zenhttp/clients/httpclientcpr.h
+++ b/src/zenhttp/clients/httpclientcpr.h
@@ -18,7 +18,7 @@ namespace zen {
class CprHttpClient : public HttpClientBase
{
public:
- CprHttpClient(std::string_view BaseUri, const HttpClientSettings& Connectionsettings = {});
+ CprHttpClient(std::string_view BaseUri, const HttpClientSettings& Connectionsettings, std::function<bool()>&& CheckIfAbortFunction);
~CprHttpClient();
// HttpClientBase