#### io_context::use_service

    template<
        typename Service>
    Service & use_service(
        io_context & ioc);

###### Requirements

Header: `asio/io_context.hpp`

Convenience header: `asio.hpp`

Copyright © 2003-2025 Christopher M. Kohlhoff

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)