diff --git a/include/beast/http/impl/write.ipp b/include/beast/http/impl/write.ipp index e18011b2..44f37c53 100644 --- a/include/beast/http/impl/write.ipp +++ b/include/beast/http/impl/write.ipp @@ -34,7 +34,7 @@ namespace detail { template void -write_firstline(DynamicBuffer& dynabuf, +write_start_line(DynamicBuffer& dynabuf, message_headers const& msg) { BOOST_ASSERT(msg.version == 10 || msg.version == 11); @@ -54,7 +54,7 @@ write_firstline(DynamicBuffer& dynabuf, template void -write_firstline(DynamicBuffer& dynabuf, +write_start_line(DynamicBuffer& dynabuf, message_headers const& msg) { BOOST_ASSERT(msg.version == 10 || msg.version == 11); @@ -228,7 +228,7 @@ write(SyncWriteStream& stream, static_assert(is_SyncWriteStream::value, "SyncWriteStream requirements not met"); streambuf sb; - detail::write_firstline(sb, msg); + detail::write_start_line(sb, msg); detail::write_fields(sb, msg.headers); beast::write(sb, "\r\n"); boost::asio::write(stream, sb.data(), ec); @@ -248,7 +248,7 @@ async_write(AsyncWriteStream& stream, beast::async_completion completion(handler); streambuf sb; - detail::write_firstline(sb, msg); + detail::write_start_line(sb, msg); detail::write_fields(sb, msg.headers); beast::write(sb, "\r\n"); detail::write_streambuf_op