diff options
Diffstat (limited to 'src/zenhttp/include')
| -rw-r--r-- | src/zenhttp/include/zenhttp/httpclient.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/zenhttp/include/zenhttp/httpclient.h b/src/zenhttp/include/zenhttp/httpclient.h index c1fc1efa6..b12bdefb8 100644 --- a/src/zenhttp/include/zenhttp/httpclient.h +++ b/src/zenhttp/include/zenhttp/httpclient.h @@ -114,7 +114,9 @@ class HttpClientBase; class HttpClient { public: - HttpClient(std::string_view BaseUri, const HttpClientSettings& Connectionsettings = {}); + HttpClient(std::string_view BaseUri, + const HttpClientSettings& Connectionsettings = {}, + std::function<bool()>&& CheckIfAbortFunction = {}); ~HttpClient(); struct ErrorContext |