// connection.hpp
// ~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
private boost::noncopyable
{
public:
- /// Construct a connection with the given io_service.
- explicit connection(boost::asio::io_service& io_service,
+ /// Construct a connection with the given io_context.
+ explicit connection(boost::asio::io_context& io_context,
connection_manager& manager, request_handler& handler);
/// Get the socket associated with the connection.