Rename to make_serializer

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:17 -07:00
parent 75b0571e83
commit d0d08e81f9
5 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -77,7 +77,7 @@ public:
req.body = "Hello, world!";
// send header
auto ws = make_write_stream(req);
auto ws = make_serializer(req);
for(;;)
{
ws.async_write_some(stream, yield);
@@ -162,7 +162,7 @@ public:
m.target("/");
m.fields.insert("User-Agent", "test");
m.fields.insert("Content-Length", s.size());
auto ws = make_write_stream(m);
auto ws = make_serializer(m);
error_code ec;
for(;;)
{