websocketpp/0.8.2

Header only C++ library that implements RFC6455 The WebSocket Protocol
Recipe info
2023-09-29

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
websocketpp/0.8.2

Using websocketpp

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]
websocketpp/0.8.2
[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("websocketpp/0.8.2")

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

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

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

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

#include "websocketpp/base64/base64.hpp"
#include "websocketpp/client.hpp"
#include "websocketpp/close.hpp"
#include "websocketpp/common/asio.hpp"
#include "websocketpp/common/asio_ssl.hpp"
#include "websocketpp/common/chrono.hpp"
#include "websocketpp/common/connection_hdl.hpp"
#include "websocketpp/common/cpp11.hpp"
#include "websocketpp/common/functional.hpp"
#include "websocketpp/common/md5.hpp"
#include "websocketpp/common/memory.hpp"
#include "websocketpp/common/network.hpp"
#include "websocketpp/common/platforms.hpp"
#include "websocketpp/common/random.hpp"
#include "websocketpp/common/regex.hpp"
#include "websocketpp/common/stdint.hpp"
#include "websocketpp/common/system_error.hpp"
#include "websocketpp/common/thread.hpp"
#include "websocketpp/common/time.hpp"
#include "websocketpp/common/type_traits.hpp"
#include "websocketpp/concurrency/basic.hpp"
#include "websocketpp/concurrency/none.hpp"
#include "websocketpp/config/asio.hpp"
#include "websocketpp/config/asio_client.hpp"
#include "websocketpp/config/asio_no_tls.hpp"
#include "websocketpp/config/asio_no_tls_client.hpp"
#include "websocketpp/config/boost_config.hpp"
#include "websocketpp/config/core.hpp"
#include "websocketpp/config/core_client.hpp"
#include "websocketpp/config/debug.hpp"
#include "websocketpp/config/debug_asio.hpp"
#include "websocketpp/config/debug_asio_no_tls.hpp"
#include "websocketpp/config/minimal_client.hpp"
#include "websocketpp/config/minimal_server.hpp"
#include "websocketpp/connection.hpp"
#include "websocketpp/connection_base.hpp"
#include "websocketpp/endpoint.hpp"
#include "websocketpp/endpoint_base.hpp"
#include "websocketpp/error.hpp"
#include "websocketpp/extensions/extension.hpp"
#include "websocketpp/extensions/permessage_deflate/disabled.hpp"
#include "websocketpp/extensions/permessage_deflate/enabled.hpp"
#include "websocketpp/frame.hpp"
#include "websocketpp/http/constants.hpp"
#include "websocketpp/http/impl/parser.hpp"
#include "websocketpp/http/impl/request.hpp"
#include "websocketpp/http/impl/response.hpp"
#include "websocketpp/http/parser.hpp"
#include "websocketpp/http/request.hpp"
#include "websocketpp/http/response.hpp"
#include "websocketpp/impl/connection_impl.hpp"
#include "websocketpp/impl/endpoint_impl.hpp"
#include "websocketpp/impl/utilities_impl.hpp"
#include "websocketpp/logger/basic.hpp"
#include "websocketpp/logger/levels.hpp"
#include "websocketpp/logger/stub.hpp"
#include "websocketpp/logger/syslog.hpp"
#include "websocketpp/message_buffer/alloc.hpp"
#include "websocketpp/message_buffer/message.hpp"
#include "websocketpp/message_buffer/pool.hpp"
#include "websocketpp/processors/base.hpp"
#include "websocketpp/processors/hybi00.hpp"
#include "websocketpp/processors/hybi07.hpp"
#include "websocketpp/processors/hybi08.hpp"
#include "websocketpp/processors/hybi13.hpp"
#include "websocketpp/processors/processor.hpp"
#include "websocketpp/random/none.hpp"
#include "websocketpp/random/random_device.hpp"
#include "websocketpp/roles/client_endpoint.hpp"
#include "websocketpp/roles/server_endpoint.hpp"
#include "websocketpp/server.hpp"
#include "websocketpp/sha1/sha1.hpp"
#include "websocketpp/transport/asio/base.hpp"
#include "websocketpp/transport/asio/connection.hpp"
#include "websocketpp/transport/asio/endpoint.hpp"
#include "websocketpp/transport/asio/security/base.hpp"
#include "websocketpp/transport/asio/security/none.hpp"
#include "websocketpp/transport/asio/security/tls.hpp"
#include "websocketpp/transport/base/connection.hpp"
#include "websocketpp/transport/base/endpoint.hpp"
#include "websocketpp/transport/debug/base.hpp"
#include "websocketpp/transport/debug/connection.hpp"
#include "websocketpp/transport/debug/endpoint.hpp"
#include "websocketpp/transport/iostream/base.hpp"
#include "websocketpp/transport/iostream/connection.hpp"
#include "websocketpp/transport/iostream/endpoint.hpp"
#include "websocketpp/transport/stub/base.hpp"
#include "websocketpp/transport/stub/connection.hpp"
#include "websocketpp/transport/stub/endpoint.hpp"
#include "websocketpp/uri.hpp"
#include "websocketpp/utf8_validator.hpp"
#include "websocketpp/utilities.hpp"
#include "websocketpp/version.hpp"