forked from boostorg/beast
Refactor prepare (API Change)
This commit is contained in:
1 parent
2af19481a9
commit
2df6783468
26 files changed
+543
-362
No files matched your search
@@ -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