mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
Tidy up FieldsReader doc
This commit is contained in:
@ -3,6 +3,7 @@ Version 132:
|
|||||||
* Tidy up project folders in CMakeLists.txt
|
* Tidy up project folders in CMakeLists.txt
|
||||||
* Rename Cmake variables for clarity
|
* Rename Cmake variables for clarity
|
||||||
* Add ref-qualified overloads for message::body
|
* Add ref-qualified overloads for message::body
|
||||||
|
* Tidy up FieldsReader doc
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ In this table:
|
|||||||
This is the type of buffer returned by `R::get`.
|
This is the type of buffer returned by `R::get`.
|
||||||
]
|
]
|
||||||
][
|
][
|
||||||
[`R(f,v,m)`]
|
[`R{f,v,m}`]
|
||||||
[]
|
[]
|
||||||
[
|
[
|
||||||
The implementation calls this constructor to indicate
|
The implementation calls this constructor to indicate
|
||||||
@ -50,7 +50,7 @@ In this table:
|
|||||||
to end no earlier than after the `R` is destroyed.
|
to end no earlier than after the `R` is destroyed.
|
||||||
]
|
]
|
||||||
][
|
][
|
||||||
[`R(f,v,c)`]
|
[`R{f,v,c}`]
|
||||||
[]
|
[]
|
||||||
[
|
[
|
||||||
The implementation calls this constructor to indicate
|
The implementation calls this constructor to indicate
|
||||||
|
@ -272,7 +272,7 @@ static_assert(is_fields<Fields>::value,
|
|||||||
//]
|
//]
|
||||||
|
|
||||||
struct Fields_FieldsReader {
|
struct Fields_FieldsReader {
|
||||||
using F = Fields_FieldsReader;
|
using Fields = Fields_FieldsReader;
|
||||||
//[concept_FieldsReader
|
//[concept_FieldsReader
|
||||||
|
|
||||||
struct FieldsReader
|
struct FieldsReader
|
||||||
@ -281,14 +281,10 @@ struct FieldsReader
|
|||||||
struct const_buffers_type;
|
struct const_buffers_type;
|
||||||
|
|
||||||
// Constructor for requests
|
// Constructor for requests
|
||||||
FieldsReader(F const& f, unsigned version, verb method);
|
FieldsReader(Fields const& f, unsigned version, verb method);
|
||||||
|
|
||||||
// Constructor for responses
|
// Constructor for responses
|
||||||
FieldsReader(F const& f, unsigned version, unsigned status);
|
FieldsReader(Fields const& f, unsigned version, unsigned status);
|
||||||
|
|
||||||
// Returns `true` if keep-alive is indicated
|
|
||||||
bool
|
|
||||||
keep_alive();
|
|
||||||
|
|
||||||
// Returns the serialized header buffers
|
// Returns the serialized header buffers
|
||||||
const_buffers_type
|
const_buffers_type
|
||||||
|
Reference in New Issue
Block a user