From 14f13cc74af9798f4f77071cb4ae555e42e72dc2 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Mon, 10 Oct 2016 16:05:08 -0400 Subject: [PATCH] Fix Writer exemplar in docs --- doc/design.qbk | 4 ++-- doc/master.qbk | 2 +- doc/types/Parser.qbk | 2 +- doc/types/Writer.qbk | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/design.qbk b/doc/design.qbk index 5c78aa5d..c3947d6b 100644 --- a/doc/design.qbk +++ b/doc/design.qbk @@ -29,8 +29,8 @@ libraries: * Role-symmetric interfaces; client and server the same (or close to it). -* Leave important decisions to the user, such as - allocating memory or managing flow control. +* Leave important decisions such as allocating memory or + managing flow control, to the user. Beast uses the __DynamicBuffer__ concept presented in the Networking TS (__N4588__), and relies heavily on the Boost.Asio __ConstBufferSequence__ diff --git a/doc/master.qbk b/doc/master.qbk index 986c902d..4075e301 100644 --- a/doc/master.qbk +++ b/doc/master.qbk @@ -50,7 +50,7 @@ provides implementations of the HTTP and WebSocket protocols. [[ [link beast.overview Overview] ][ - An introduction wsth features, requirements, and credits. + An introduction with features, requirements, and credits. ]] [[ [link beast.http Using HTTP] diff --git a/doc/types/Parser.qbk b/doc/types/Parser.qbk index 8638b419..3bf31ca2 100644 --- a/doc/types/Parser.qbk +++ b/doc/types/Parser.qbk @@ -30,7 +30,7 @@ In this table: [`a.complete()`] [`bool`] [ - Returns `true` when the parser is complete. + Returns `true` when parsing is complete. ] ] [ diff --git a/doc/types/Writer.qbk b/doc/types/Writer.qbk index b4cd3eb0..56de5efb 100644 --- a/doc/types/Writer.qbk +++ b/doc/types/Writer.qbk @@ -128,8 +128,8 @@ public: use chunk-encoding or terminate the connection to indicate the end of the message. */ - std::size_t - content_length() const; + std::uint64_t + content_length(); /** Write zero or one buffer representing the message body.