• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>http::message::message (14 of 14 overloads)</title>
5<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../../index.html" title="Chapter 1. Boost.Beast">
8<link rel="up" href="../message.html" title="http::message::message">
9<link rel="prev" href="overload13.html" title="http::message::message (13 of 14 overloads)">
10<link rel="next" href="../operator_eq_.html" title="http::message::operator=">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="overload13.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../message.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../operator_eq_.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h6 class="title">
27<a name="beast.ref.boost__beast__http__message.message.overload14"></a><a class="link" href="overload14.html" title="http::message::message (14 of 14 overloads)">http::message::message
28          (14 of 14 overloads)</a>
29</h6></div></div></div>
30<p>
31            Construct a message.
32          </p>
33<h7><a name="beast.ref.boost__beast__http__message.message.overload14.h0"></a>
34            <span class="phrase"><a name="beast.ref.boost__beast__http__message.message.overload14.synopsis"></a></span><a class="link" href="overload14.html#beast.ref.boost__beast__http__message.message.overload14.synopsis">Synopsis</a>
35          </h7><pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
36    <span class="keyword">class</span><span class="special">...</span> <span class="identifier">BodyArgs</span><span class="special">,</span>
37    <span class="keyword">class</span><span class="special">...</span> <span class="identifier">FieldsArgs</span><span class="special">&gt;</span>
38<span class="identifier">message</span><span class="special">(</span>
39    <span class="identifier">std</span><span class="special">::</span><span class="identifier">piecewise_construct_t</span><span class="special">,</span>
40    <span class="identifier">std</span><span class="special">::</span><span class="identifier">tuple</span><span class="special">&lt;</span> <span class="identifier">BodyArgs</span><span class="special">...</span> <span class="special">&gt;</span> <span class="identifier">body_args</span><span class="special">,</span>
41    <span class="identifier">std</span><span class="special">::</span><span class="identifier">tuple</span><span class="special">&lt;</span> <span class="identifier">FieldsArgs</span><span class="special">...</span> <span class="special">&gt;</span> <span class="identifier">fields_args</span><span class="special">);</span>
42</pre>
43<h7><a name="beast.ref.boost__beast__http__message.message.overload14.h1"></a>
44            <span class="phrase"><a name="beast.ref.boost__beast__http__message.message.overload14.description"></a></span><a class="link" href="overload14.html#beast.ref.boost__beast__http__message.message.overload14.description">Description</a>
45          </h7><h7><a name="beast.ref.boost__beast__http__message.message.overload14.h2"></a>
46            <span class="phrase"><a name="beast.ref.boost__beast__http__message.message.overload14.parameters"></a></span><a class="link" href="overload14.html#beast.ref.boost__beast__http__message.message.overload14.parameters">Parameters</a>
47          </h7><div class="informaltable"><table class="table">
48<colgroup>
49<col>
50<col>
51</colgroup>
52<thead><tr>
53<th>
54                    <p>
55                      Name
56                    </p>
57                  </th>
58<th>
59                    <p>
60                      Description
61                    </p>
62                  </th>
63</tr></thead>
64<tbody>
65<tr>
66<td>
67                    <p>
68                      <code class="computeroutput"><span class="identifier">body_args</span></code>
69                    </p>
70                  </td>
71<td>
72                    <p>
73                      A tuple forwarded as a parameter pack to the body constructor.
74                    </p>
75                  </td>
76</tr>
77<tr>
78<td>
79                    <p>
80                      <code class="computeroutput"><span class="identifier">fields_args</span></code>
81                    </p>
82                  </td>
83<td>
84                    <p>
85                      A tuple forwarded as a parameter pack to the <code class="computeroutput"><span class="identifier">Fields</span></code> constructor.
86                    </p>
87                  </td>
88</tr>
89</tbody>
90</table></div>
91</div>
92<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
93<td align="left"></td>
94<td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie
95      Falco<p>
96        Distributed under the Boost Software License, Version 1.0. (See accompanying
97        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
98      </p>
99</div></td>
100</tr></table>
101<hr>
102<div class="spirit-nav">
103<a accesskey="p" href="overload13.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../message.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../operator_eq_.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
104</div>
105</body>
106</html>
107