message::prepare_payload replaces message::prepare (API Change):

Actions Required:

* Change calls to msg.prepare to msg.prepare_payload. For messages
  with a user-defined Fields, provide the function prepare_payload_impl
  in the fields type according to the Fields requirements.
This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:27 -07:00
1 parent f9f6e1e0cc
commit 56a561da9a
20 files changed
+398 -114

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ public:
req.version = 11;
req.method(verb::post);
req.target("/");
req.prepare();
req.prepare_payload();
static_buffer_n<512> b;
ostream(b) << req;
string_view const s{