RESTinio
|
A class for holding a reference to external Asio's io_context. More...
#include <ioctx_on_thread_pool.hpp>
Public Member Functions | |
external_io_context_for_thread_pool_t (asio_ns::io_context &ioctx) | |
Initializing constructor. More... | |
auto & | io_context () noexcept |
Get access to io_context object. More... | |
Private Attributes | |
asio_ns::io_context & | m_ioctx |
A class for holding a reference to external Asio's io_context.
Definition at line 46 of file ioctx_on_thread_pool.hpp.
|
inline |
Initializing constructor.
ioctx | External io_context to be used. |
Definition at line 52 of file ioctx_on_thread_pool.hpp.
|
inlinenoexcept |
Get access to io_context object.
Definition at line 59 of file ioctx_on_thread_pool.hpp.
|
private |
Definition at line 48 of file ioctx_on_thread_pool.hpp.