Refactor prepare (API Change)

This commit is contained in:
Vinnie Falco
2017-06-05 21:11:33 -07:00
parent 2af19481a9
commit 2df6783468
26 changed files with 543 additions and 362 deletions

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