Refactor prepare (API Change)

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:18 -07:00
1 parent 2af19481a9
commit 2df6783468
26 files changed
+543 -362

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ int main()
req.insert("Host", host + ":" +
boost::lexical_cast<std::string>(sock.remote_endpoint().port()));
req.insert("User-Agent", "Beast");
beast::http::prepare(req);
req.prepare();
beast::http::write(stream, req);
// Receive and print HTTP response using Beast