13#if qStroika_HasComponent_libcurl
14namespace Stroika::Foundation::IO::Network::Transfer::LibCurl {
16 inline void ThrowIfError (CURLcode status)
18 if (status != CURLE_OK) [[unlikely]] {
19 Execution::Throw (Execution::SystemErrorException<>{status, error_category ()});
26#if qStroika_HasComponent_libcurl
28 [[deprecated (
"Since Stroika v3.0d4")]]
inline const std::error_category& LibCurl_error_category () noexcept
30 return LibCurl::error_category ();
37 [[deprecated (
"Since Stroika v3.0d4")]]
inline void ThrowIfError (CURLcode status)
39 LibCurl::ThrowIfError (status);
42 namespace [[deprecated (
"Since Stroika v3.0d4 use LibCurl::Connection")]] Connection_LibCurl {
43 using namespace Stroika::Foundation::IO::Network::Transfer::LibCurl::Connection;
#define CompileTimeFlagChecker_HEADER(NS_PREFIX, NAME, VALUE)
CompileTimeFlagChecker_HEADER () will generate a LINK ERROR if you ever compile a header with one val...