|
1 |
| -// Copyright Dean Michael Berris 2007. |
| 1 | +// Copyright Dean Michael Berris 2007. |
| 2 | +// Copyright Google, Inc. 2015 |
2 | 3 | // Distributed under the Boost Software License, Version 1.0.
|
3 |
| -// (See accompanying file LICENSE_1_0.txt or copy at |
4 |
| -// http://www.boost.org/LICENSE_1_0.txt) |
| 4 | +// (See accompanying file LICENSE_1_0.txt or copy at |
| 5 | +// http://www.boost.org/LICENSE_1_0.txt) |
5 | 6 |
|
6 | 7 | #ifndef BOOST_NETWORK_MESSAGE_HPP__
|
7 | 8 | #define BOOST_NETWORK_MESSAGE_HPP__
|
8 | 9 |
|
9 | 10 | #include <boost/network/detail/directive_base.hpp>
|
10 | 11 | #include <boost/network/detail/wrapper_base.hpp>
|
11 |
| -#include <boost/network/message/directives.hpp> |
12 |
| -#include <boost/network/message/message_concept.hpp> |
13 |
| -#include <boost/network/message/modifiers/add_header.hpp> |
14 |
| -#include <boost/network/message/modifiers/body.hpp> |
15 |
| -#include <boost/network/message/modifiers/clear_headers.hpp> |
16 |
| -#include <boost/network/message/modifiers/destination.hpp> |
17 |
| -#include <boost/network/message/modifiers/remove_header.hpp> |
18 |
| -#include <boost/network/message/modifiers/source.hpp> |
19 |
| -#include <boost/network/message/transformers.hpp> |
20 |
| -#include <boost/network/message/wrappers.hpp> |
21 |
| -#include <boost/network/message_fwd.hpp> |
| 12 | +#include <boost/network/traits/headers_container.hpp> |
22 | 13 | #include <boost/network/traits/string.hpp>
|
23 | 14 | #include <boost/utility/enable_if.hpp>
|
24 | 15 |
|
@@ -125,11 +116,6 @@ inline void swap(basic_message<Tag>& left, basic_message<Tag>& right) {
|
125 | 116 | left.swap(right);
|
126 | 117 | }
|
127 | 118 |
|
128 |
| -// Commenting this out as we don't need to do this anymore. |
129 |
| -// BOOST_CONCEPT_ASSERT((Message<basic_message<boost::network::tags::default_string> |
130 |
| -// >)); |
131 |
| -// BOOST_CONCEPT_ASSERT((Message<basic_message<boost::network::tags::default_wstring> |
132 |
| -// >)); |
133 | 119 | typedef basic_message<tags::default_string> message;
|
134 | 120 | typedef basic_message<tags::default_wstring> wmessage;
|
135 | 121 |
|
|
0 commit comments