2 Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 [section:Body Body requirements]
10 A [*Body] type is supplied as a template argument to the __message__ class. It
11 controls both the type of the data member of the resulting message object, and
12 the algorithms used during parsing and serialization.
16 * `X` is a type meeting the requirements of [*`Body`].
18 [table Body requirements
19 [[operation] [type] [semantics, pre/post-conditions]]
24 The type of the `message::body` member.
25 If this is not movable or not copyable, the containing message
26 will be not movable or not copyable.
33 If present, a type meeting the requirements of
34 [link beast.ref.Reader [*`Reader`]].
35 Provides an implementation to parse the body.
42 If present, a type meeting the requirements of
43 [link beast.ref.Writer [*`Writer`]].
44 Provides an implementation to serialize the body.