mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
Serializer members are not const
This commit is contained in:
@ -5,6 +5,7 @@ Version 76:
|
|||||||
* BodyReader may construct from a non-const message
|
* BodyReader may construct from a non-const message
|
||||||
* Add serializer::get
|
* Add serializer::get
|
||||||
* Add serializer::chunked
|
* Add serializer::chunked
|
||||||
|
* Serializer members are not const
|
||||||
|
|
||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ struct serializer_is_header_done
|
|||||||
class Fields, class Decorator>
|
class Fields, class Decorator>
|
||||||
bool
|
bool
|
||||||
operator()(serializer<isRequest, Body,
|
operator()(serializer<isRequest, Body,
|
||||||
Fields, Decorator> const& sr) const
|
Fields, Decorator>& sr) const
|
||||||
{
|
{
|
||||||
return sr.is_header_done();
|
return sr.is_header_done();
|
||||||
}
|
}
|
||||||
@ -189,7 +189,7 @@ struct serializer_is_done
|
|||||||
class Fields, class Decorator>
|
class Fields, class Decorator>
|
||||||
bool
|
bool
|
||||||
operator()(serializer<isRequest, Body,
|
operator()(serializer<isRequest, Body,
|
||||||
Fields, Decorator> const& sr) const
|
Fields, Decorator>& sr) const
|
||||||
{
|
{
|
||||||
return sr.is_done();
|
return sr.is_done();
|
||||||
}
|
}
|
||||||
|
@ -318,7 +318,7 @@ public:
|
|||||||
|
|
||||||
/// Returns the serialized buffer size limit
|
/// Returns the serialized buffer size limit
|
||||||
std::size_t
|
std::size_t
|
||||||
limit() const
|
limit()
|
||||||
{
|
{
|
||||||
return limit_;
|
return limit_;
|
||||||
}
|
}
|
||||||
@ -344,7 +344,7 @@ public:
|
|||||||
/** Returns `true` if we will pause after writing the complete header.
|
/** Returns `true` if we will pause after writing the complete header.
|
||||||
*/
|
*/
|
||||||
bool
|
bool
|
||||||
split() const
|
split()
|
||||||
{
|
{
|
||||||
return split_;
|
return split_;
|
||||||
}
|
}
|
||||||
@ -368,7 +368,7 @@ public:
|
|||||||
serialized header octets have been retrieved.
|
serialized header octets have been retrieved.
|
||||||
*/
|
*/
|
||||||
bool
|
bool
|
||||||
is_header_done() const
|
is_header_done()
|
||||||
{
|
{
|
||||||
return header_done_;
|
return header_done_;
|
||||||
}
|
}
|
||||||
@ -380,7 +380,7 @@ public:
|
|||||||
successfully retrieved.
|
successfully retrieved.
|
||||||
*/
|
*/
|
||||||
bool
|
bool
|
||||||
is_done() const
|
is_done()
|
||||||
{
|
{
|
||||||
return s_ == do_complete;
|
return s_ == do_complete;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user