drogon/1.9.5

A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
Recipe info
2024-06-12

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
drogon/1.9.5

Using drogon

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]
drogon/1.9.5
[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("drogon/1.9.5")

    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): Drogon
  • CMake target name(s): Drogon::Drogon
  • pkg-config file name(s): drogon.pc

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

# ...
find_package(Drogon REQUIRED)
# ...
target_link_libraries(YOUR_TARGET Drogon::Drogon)

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

#include "drogon/Attribute.h"
#include "drogon/CacheMap.h"
#include "drogon/Cookie.h"
#include "drogon/DrClassMap.h"
#include "drogon/DrObject.h"
#include "drogon/DrTemplate.h"
#include "drogon/DrTemplateBase.h"
#include "drogon/HttpAppFramework.h"
#include "drogon/HttpBinder.h"
#include "drogon/HttpClient.h"
#include "drogon/HttpController.h"
#include "drogon/HttpFilter.h"
#include "drogon/HttpMiddleware.h"
#include "drogon/HttpRequest.h"
#include "drogon/HttpResponse.h"
#include "drogon/HttpSimpleController.h"
#include "drogon/HttpTypes.h"
#include "drogon/HttpViewData.h"
#include "drogon/IOThreadStorage.h"
#include "drogon/IntranetIpFilter.h"
#include "drogon/LocalHostFilter.h"
#include "drogon/MultiPart.h"
#include "drogon/NotFound.h"
#include "drogon/PubSubService.h"
#include "drogon/RateLimiter.h"
#include "drogon/Session.h"
#include "drogon/UploadFile.h"
#include "drogon/WebSocketClient.h"
#include "drogon/WebSocketConnection.h"
#include "drogon/WebSocketController.h"
#include "drogon/drogon.h"
#include "drogon/drogon_callbacks.h"
#include "drogon/drogon_test.h"
#include "drogon/exports.h"
#include "drogon/nosql/RedisClient.h"
#include "drogon/nosql/RedisException.h"
#include "drogon/nosql/RedisResult.h"
#include "drogon/nosql/RedisSubscriber.h"
#include "drogon/orm/ArrayParser.h"
#include "drogon/orm/BaseBuilder.h"
#include "drogon/orm/CoroMapper.h"
#include "drogon/orm/Criteria.h"
#include "drogon/orm/DbClient.h"
#include "drogon/orm/DbConfig.h"
#include "drogon/orm/DbListener.h"
#include "drogon/orm/DbTypes.h"
#include "drogon/orm/Exception.h"
#include "drogon/orm/Field.h"
#include "drogon/orm/FunctionTraits.h"
#include "drogon/orm/Mapper.h"
#include "drogon/orm/RestfulController.h"
#include "drogon/orm/Result.h"
#include "drogon/orm/ResultIterator.h"
#include "drogon/orm/Row.h"
#include "drogon/orm/RowIterator.h"
#include "drogon/orm/SqlBinder.h"
#include "drogon/plugins/AccessLogger.h"
#include "drogon/plugins/GlobalFilters.h"
#include "drogon/plugins/Hodor.h"
#include "drogon/plugins/Plugin.h"
#include "drogon/plugins/PromExporter.h"
#include "drogon/plugins/RealIpResolver.h"
#include "drogon/plugins/Redirector.h"
#include "drogon/plugins/SecureSSLRedirector.h"
#include "drogon/plugins/SlashRemover.h"
#include "drogon/utils/FunctionTraits.h"
#include "drogon/utils/HttpConstraint.h"
#include "drogon/utils/OStringStream.h"
#include "drogon/utils/Utilities.h"
#include "drogon/utils/coroutine.h"
#include "drogon/utils/monitoring.h"
#include "drogon/utils/monitoring/Collector.h"
#include "drogon/utils/monitoring/Counter.h"
#include "drogon/utils/monitoring/Gauge.h"
#include "drogon/utils/monitoring/Histogram.h"
#include "drogon/utils/monitoring/Metric.h"
#include "drogon/utils/monitoring/Registry.h"
#include "drogon/utils/monitoring/Sample.h"
#include "drogon/version.h"