forked from boostorg/beast
Refactor prepare (API Change)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user