brynet/1.12.2

Header Only Cross platform high performance TCP network library using C++ 11.
Recipe info
2023-04-26

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
brynet/1.12.2

Using brynet

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]
brynet/1.12.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("brynet/1.12.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): brynet
  • CMake target name(s): brynet::brynet
  • pkg-config file name(s): brynet.pc

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

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

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

#include "brynet/Version.hpp"
#include "brynet/base/Any.hpp"
#include "brynet/base/AppStatus.hpp"
#include "brynet/base/Array.hpp"
#include "brynet/base/Buffer.hpp"
#include "brynet/base/CPP_VERSION.hpp"
#include "brynet/base/Noexcept.hpp"
#include "brynet/base/NonCopyable.hpp"
#include "brynet/base/Packet.hpp"
#include "brynet/base/Platform.hpp"
#include "brynet/base/Stack.hpp"
#include "brynet/base/Timer.hpp"
#include "brynet/base/WaitGroup.hpp"
#include "brynet/base/crypto/Base64.hpp"
#include "brynet/base/crypto/SHA1.hpp"
#include "brynet/base/endian/Endian.hpp"
#include "brynet/net/AsyncConnector.hpp"
#include "brynet/net/Channel.hpp"
#include "brynet/net/CurrentThread.hpp"
#include "brynet/net/EventLoop.hpp"
#include "brynet/net/Exception.hpp"
#include "brynet/net/ListenThread.hpp"
#include "brynet/net/Poller.hpp"
#include "brynet/net/PromiseReceive.hpp"
#include "brynet/net/SSLHelper.hpp"
#include "brynet/net/SendableMsg.hpp"
#include "brynet/net/Socket.hpp"
#include "brynet/net/SocketLibFunction.hpp"
#include "brynet/net/SocketLibTypes.hpp"
#include "brynet/net/TcpConnection.hpp"
#include "brynet/net/TcpService.hpp"
#include "brynet/net/detail/ConnectionOption.hpp"
#include "brynet/net/detail/ConnectorDetail.hpp"
#include "brynet/net/detail/ConnectorWorkInfo.hpp"
#include "brynet/net/detail/IOLoopData.hpp"
#include "brynet/net/detail/ListenThreadDetail.hpp"
#include "brynet/net/detail/TCPServiceDetail.hpp"
#include "brynet/net/detail/WakeupChannel.hpp"
#include "brynet/net/http/HttpFormat.hpp"
#include "brynet/net/http/HttpParser.hpp"
#include "brynet/net/http/HttpService.hpp"
#include "brynet/net/http/WebSocketFormat.hpp"
#include "brynet/net/http/http_parser.h"
#include "brynet/net/port/Win.hpp"
#include "brynet/net/wrapper/ConnectionBuilder.hpp"
#include "brynet/net/wrapper/HttpConnectionBuilder.hpp"
#include "brynet/net/wrapper/HttpServiceBuilder.hpp"
#include "brynet/net/wrapper/ServiceBuilder.hpp"