#pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace asio = boost::asio; namespace beast = boost::beast; namespace base { // if we need strands this is here just in case :) using BaseExecutorType = asio::any_io_executor; using ExecutorType = BaseExecutorType; /// Awaitable type (configured for the current executor) template using Awaitable = asio::awaitable; template using Acceptor = asio::basic_socket_acceptor; template using Socket = asio::basic_stream_socket; using SteadyTimer = asio::basic_waitable_timer, ExecutorType>; template using BeastStream = beast::basic_stream; } // namespace base