uwebsockets/20.62.0

Simple, secure & standards compliant web server for the most demanding of applications
Recipe info
2024-03-11

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
uwebsockets/20.62.0

Using uwebsockets

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

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

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

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

#include "App.h"
#include "AsyncSocket.h"
#include "AsyncSocketData.h"
#include "BloomFilter.h"
#include "ChunkedEncoding.h"
#include "ClientApp.h"
#include "Http3App.h"
#include "Http3Context.h"
#include "Http3ContextData.h"
#include "Http3Request.h"
#include "Http3Response.h"
#include "Http3ResponseData.h"
#include "HttpContext.h"
#include "HttpContextData.h"
#include "HttpErrors.h"
#include "HttpParser.h"
#include "HttpResponse.h"
#include "HttpResponseData.h"
#include "HttpRouter.h"
#include "LocalCluster.h"
#include "Loop.h"
#include "LoopData.h"
#include "MessageParser.h"
#include "MoveOnlyFunction.h"
#include "Multipart.h"
#include "PerMessageDeflate.h"
#include "ProxyParser.h"
#include "QueryParser.h"
#include "TopicTree.h"
#include "Utilities.h"
#include "WebSocket.h"
#include "WebSocketContext.h"
#include "WebSocketContextData.h"
#include "WebSocketData.h"
#include "WebSocketExtensions.h"
#include "WebSocketHandshake.h"
#include "WebSocketProtocol.h"
#include "uWebSockets/App.h"
#include "uWebSockets/AsyncSocket.h"
#include "uWebSockets/AsyncSocketData.h"
#include "uWebSockets/BloomFilter.h"
#include "uWebSockets/ChunkedEncoding.h"
#include "uWebSockets/ClientApp.h"
#include "uWebSockets/Http3App.h"
#include "uWebSockets/Http3Context.h"
#include "uWebSockets/Http3ContextData.h"
#include "uWebSockets/Http3Request.h"
#include "uWebSockets/Http3Response.h"
#include "uWebSockets/Http3ResponseData.h"
#include "uWebSockets/HttpContext.h"
#include "uWebSockets/HttpContextData.h"
#include "uWebSockets/HttpErrors.h"
#include "uWebSockets/HttpParser.h"
#include "uWebSockets/HttpResponse.h"
#include "uWebSockets/HttpResponseData.h"
#include "uWebSockets/HttpRouter.h"
#include "uWebSockets/LocalCluster.h"
#include "uWebSockets/Loop.h"
#include "uWebSockets/LoopData.h"
#include "uWebSockets/MessageParser.h"
#include "uWebSockets/MoveOnlyFunction.h"
#include "uWebSockets/Multipart.h"
#include "uWebSockets/PerMessageDeflate.h"
#include "uWebSockets/ProxyParser.h"
#include "uWebSockets/QueryParser.h"
#include "uWebSockets/TopicTree.h"
#include "uWebSockets/Utilities.h"
#include "uWebSockets/WebSocket.h"
#include "uWebSockets/WebSocketContext.h"
#include "uWebSockets/WebSocketContextData.h"
#include "uWebSockets/WebSocketData.h"
#include "uWebSockets/WebSocketExtensions.h"
#include "uWebSockets/WebSocketHandshake.h"
#include "uWebSockets/WebSocketProtocol.h"