forked from boostorg/beast
message::body is a member function (API Change):
fix #778 * The body data member is replaced with accessor member functions. Actions Required: * Call member function message::body instead of accessing the data member at call sites.
This commit is contained in:
1 parent
0d4d239d05
commit
54fe7cacf7
36 files changed
+248
-182
No files matched your search
@@ -577,7 +577,7 @@ build_response(http::request<Body,
|
||||
response_type res;
|
||||
res.version = req.version;
|
||||
res.result(http::status::bad_request);
|
||||
res.body = text;
|
||||
res.body() = text;
|
||||
res.prepare_payload();
|
||||
decorate(res);
|
||||
return res;
|
||||
|
||||
Reference in new issue
Block a user