1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>http::message::message (4 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="overload3.html" title="http::message::message (3 of 14 overloads)"> 10<link rel="next" href="overload5.html" title="http::message::message (5 of 14 overloads)"> 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="overload3.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="overload5.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.overload4"></a><a class="link" href="overload4.html" title="http::message::message (4 of 14 overloads)">http::message::message 28 (4 of 14 overloads)</a> 29</h6></div></div></div> 30<p> 31 Constructor. 32 </p> 33<h7><a name="beast.ref.boost__beast__http__message.message.overload4.h0"></a> 34 <span class="phrase"><a name="beast.ref.boost__beast__http__message.message.overload4.synopsis"></a></span><a class="link" href="overload4.html#beast.ref.boost__beast__http__message.message.overload4.synopsis">Synopsis</a> 35 </h7><pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> 36 <span class="keyword">class</span><span class="special">...</span> <span class="identifier">BodyArgs</span><span class="special">></span> 37<span class="identifier">message</span><span class="special">(</span> 38 <span class="identifier">header_type</span><span class="special">&&</span> <span class="identifier">h</span><span class="special">,</span> 39 <span class="identifier">BodyArgs</span><span class="special">&&...</span> <span class="identifier">body_args</span><span class="special">);</span> 40</pre> 41<h7><a name="beast.ref.boost__beast__http__message.message.overload4.h1"></a> 42 <span class="phrase"><a name="beast.ref.boost__beast__http__message.message.overload4.description"></a></span><a class="link" href="overload4.html#beast.ref.boost__beast__http__message.message.overload4.description">Description</a> 43 </h7><h7><a name="beast.ref.boost__beast__http__message.message.overload4.h2"></a> 44 <span class="phrase"><a name="beast.ref.boost__beast__http__message.message.overload4.parameters"></a></span><a class="link" href="overload4.html#beast.ref.boost__beast__http__message.message.overload4.parameters">Parameters</a> 45 </h7><div class="informaltable"><table class="table"> 46<colgroup> 47<col> 48<col> 49</colgroup> 50<thead><tr> 51<th> 52 <p> 53 Name 54 </p> 55 </th> 56<th> 57 <p> 58 Description 59 </p> 60 </th> 61</tr></thead> 62<tbody> 63<tr> 64<td> 65 <p> 66 <code class="computeroutput"><span class="identifier">h</span></code> 67 </p> 68 </td> 69<td> 70 <p> 71 The header to move construct from. 72 </p> 73 </td> 74</tr> 75<tr> 76<td> 77 <p> 78 <code class="computeroutput"><span class="identifier">body_args</span></code> 79 </p> 80 </td> 81<td> 82 <p> 83 Optional arguments forwarded to the <code class="computeroutput"><span class="identifier">body</span></code> 84 constructor. 85 </p> 86 </td> 87</tr> 88</tbody> 89</table></div> 90</div> 91<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 92<td align="left"></td> 93<td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie 94 Falco<p> 95 Distributed under the Boost Software License, Version 1.0. (See accompanying 96 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>) 97 </p> 98</div></td> 99</tr></table> 100<hr> 101<div class="spirit-nav"> 102<a accesskey="p" href="overload3.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="overload5.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 103</div> 104</body> 105</html> 106