diff options
| author | Dan Engelbrecht <[email protected]> | 2025-10-17 11:36:49 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-10-17 11:36:49 +0200 |
| commit | 2e99697d4922f37e9304ec360602fed71c8a306e (patch) | |
| tree | 5a0d241ae483ae870a8f4e7b7b548e11fc9f0c1d /src/zenhttp/clients/httpclientcpr.h | |
| parent | exclude .sym and .psym (#585) (diff) | |
| download | zen-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.h | 2 |
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 |