CppWAMP
C++11 client library for the WAMP protocol
asiodefs.hpp File Reference

Common type definitions used by transports that rely on Boost.Asio. More...

#include <type_traits>
#include <boost/asio/any_io_executor.hpp>
#include <boost/asio/io_context.hpp>
#include <boost/asio/strand.hpp>
#include <boost/system/error_code.hpp>
#include "config.hpp"

Go to the source code of this file.

Namespaces

 wamp
 

Typedefs

using wamp::AnyIoExecutor = boost::asio::any_io_executor
 Polymorphic executor for all I/O objects.
 
using wamp::AnyExecutor = AnyIoExecutor
 Alias of AnyIoExecutor kept for backward compatibility. More...
 
using wamp::AsioContext = boost::asio::io_context
 Queues and runs I/O completion handlers.
 
using wamp::AsioService = AsioContext
 Alias of AsioContext kept for backward compatibility. More...
 
using wamp::IoStrand = boost::asio::strand< AnyIoExecutor >
 Serializes I/O operations.
 
using wamp::AsioErrorCode = boost::system::error_code
 Type used by Boost.Asio for reporting errors.
 

Detailed Description

Common type definitions used by transports that rely on Boost.Asio.