easyhttpcpp/2.1.0

A cross-platform HTTP client library with a focus on usability and speed
Recipe info
2023-02-03

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
easyhttpcpp/2.1.0

Using easyhttpcpp

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
easyhttpcpp/2.1.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("easyhttpcpp/2.1.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): easyhttpcppeasyhttp
  • CMake target name(s): easyhttpcpp::easyhttp
  • easyhttp => easyhttpcpp::easyhttp
    
  • pkg-config file name(s): easyhttpcpp.pc
  • easyhttp => easyhttpcpp-easyhttp.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(easyhttpcppeasyhttp REQUIRED)
# ...
target_link_libraries(YOUR_TARGET easyhttpcpp::easyhttp)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the easyhttpcpp homepage listed above:

#include "easyhttpcpp/CacheControl.h"
#include "easyhttpcpp/Call.h"
#include "easyhttpcpp/Connection.h"
#include "easyhttpcpp/ConnectionPool.h"
#include "easyhttpcpp/CrlCheckPolicy.h"
#include "easyhttpcpp/EasyHttp.h"
#include "easyhttpcpp/Headers.h"
#include "easyhttpcpp/HttpAuthenticator.h"
#include "easyhttpcpp/HttpAuthenticatorCallback.h"
#include "easyhttpcpp/HttpAuthenticatorTypeDefs.h"
#include "easyhttpcpp/HttpCache.h"
#include "easyhttpcpp/HttpCacheUpdateCheckPolicy.h"
#include "easyhttpcpp/HttpConstants.h"
#include "easyhttpcpp/HttpException.h"
#include "easyhttpcpp/HttpExports.h"
#include "easyhttpcpp/Interceptor.h"
#include "easyhttpcpp/LoggingInterceptor.h"
#include "easyhttpcpp/LoggingInterceptorFactory.h"
#include "easyhttpcpp/MediaType.h"
#include "easyhttpcpp/Proxy.h"
#include "easyhttpcpp/Request.h"
#include "easyhttpcpp/RequestBody.h"
#include "easyhttpcpp/Response.h"
#include "easyhttpcpp/ResponseBody.h"
#include "easyhttpcpp/ResponseBodyStream.h"
#include "easyhttpcpp/ResponseCallback.h"
#include "easyhttpcpp/common/AtomicBool.h"
#include "easyhttpcpp/common/BaseException.h"
#include "easyhttpcpp/common/BaseLogger.h"
#include "easyhttpcpp/common/ByteArrayBuffer.h"
#include "easyhttpcpp/common/Cache.h"
#include "easyhttpcpp/common/CacheInfoWithDataSize.h"
#include "easyhttpcpp/common/CacheManager.h"
#include "easyhttpcpp/common/CacheMetadata.h"
#include "easyhttpcpp/common/CacheStrategy.h"
#include "easyhttpcpp/common/CacheStrategyListener.h"
#include "easyhttpcpp/common/CommonException.h"
#include "easyhttpcpp/common/CommonExports.h"
#include "easyhttpcpp/common/CommonMacros.h"
#include "easyhttpcpp/common/CoreException.h"
#include "easyhttpcpp/common/CoreExports.h"
#include "easyhttpcpp/common/CoreLogger.h"
#include "easyhttpcpp/common/DefaultLogWriter.h"
#include "easyhttpcpp/common/ExceptionConstants.h"
#include "easyhttpcpp/common/FileUtil.h"
#include "easyhttpcpp/common/Future.h"
#include "easyhttpcpp/common/LogLevel.h"
#include "easyhttpcpp/common/LogWriter.h"
#include "easyhttpcpp/common/LruCacheByDataSizeStrategy.h"
#include "easyhttpcpp/common/OpenSslInitializer.h"
#include "easyhttpcpp/common/ProjectVersion.h"
#include "easyhttpcpp/common/RefCountedRunnable.h"
#include "easyhttpcpp/common/StringUtil.h"
#include "easyhttpcpp/common/Typedef.h"
#include "easyhttpcpp/db/AutoSqliteCursor.h"
#include "easyhttpcpp/db/AutoSqliteDatabase.h"
#include "easyhttpcpp/db/AutoSqliteTransaction.h"
#include "easyhttpcpp/db/ContentValues.h"
#include "easyhttpcpp/db/Cursor.h"
#include "easyhttpcpp/db/DbExports.h"
#include "easyhttpcpp/db/SqlException.h"
#include "easyhttpcpp/db/SqliteConflictAlgorithm.h"
#include "easyhttpcpp/db/SqliteCursor.h"
#include "easyhttpcpp/db/SqliteDatabase.h"
#include "easyhttpcpp/db/SqliteDatabaseCorruptionListener.h"
#include "easyhttpcpp/db/SqliteOpenHelper.h"
#include "easyhttpcpp/db/SqliteQueryBuilder.h"
#include "easyhttpcpp/executorservice/BlockingQueue.h"
#include "easyhttpcpp/executorservice/BoundBlockingQueue.h"
#include "easyhttpcpp/executorservice/ExecutorServiceException.h"
#include "easyhttpcpp/executorservice/ExecutorServiceExports.h"
#include "easyhttpcpp/executorservice/FutureTask.h"
#include "easyhttpcpp/executorservice/QueuedThreadPool.h"
#include "easyhttpcpp/executorservice/ScheduledFutureTask.h"
#include "easyhttpcpp/executorservice/Task.h"
#include "easyhttpcpp/executorservice/UnboundBlockingQueue.h"
#include "easyhttpcpp/messagedigest/DigestConstants.h"
#include "easyhttpcpp/messagedigest/DigestEngine.h"
#include "easyhttpcpp/messagedigest/DigestUtil.h"
#include "easyhttpcpp/messagedigest/MessageDigestException.h"
#include "easyhttpcpp/messagedigest/MessageDigestExports.h"