Refactor prepare (API Change)

This commit is contained in:
Vinnie Falco committed 2017-06-06 13:25:44 -07:00
1 parent 9fd307178f
commit 485a6e55ee
26 files changed
+543 -362

No files matched your search

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