Kurlyk
Loading...
Searching...
No Matches
config.hpp File Reference

Defines public compile-time configuration for the native Asio backend. More...

Go to the source code of this file.

Macros

#define KURLYK_HEADER_KURLYK_CONFIG_HPP_INCLUDED
#define KURLYK_USE_BOOST_ASIO   0
 Selects Boost.Asio instead of standalone Asio for WebSocket support.

Detailed Description

Defines public compile-time configuration for the native Asio backend.

This header selects Kurlyk's backend but does not define Asio implementation macros. Native WebSocket headers apply the selected backend before including Simple-WebSocket-Server.

Definition in file config.hpp.

Macro Definition Documentation

◆ KURLYK_HEADER_KURLYK_CONFIG_HPP_INCLUDED

#define KURLYK_HEADER_KURLYK_CONFIG_HPP_INCLUDED

Definition at line 3 of file config.hpp.

◆ KURLYK_USE_BOOST_ASIO

#define KURLYK_USE_BOOST_ASIO   0

Selects Boost.Asio instead of standalone Asio for WebSocket support.

Leave undefined (or set to 0) to use standalone Asio. Define to 1 before including a Kurlyk header when the application is configured for Boost.Asio.

Definition at line 18 of file config.hpp.