mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37: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
|
||||
* Add serializer::get
|
||||
* Add serializer::chunked
|
||||
* Serializer members are not const
|
||||
|
||||
API Changes:
|
||||
|
||||
|
@ -177,7 +177,7 @@ struct serializer_is_header_done
|
||||
class Fields, class Decorator>
|
||||
bool
|
||||
operator()(serializer<isRequest, Body,
|
||||
Fields, Decorator> const& sr) const
|
||||
Fields, Decorator>& sr) const
|
||||
{
|
||||
return sr.is_header_done();
|
||||
}
|
||||
@ -189,7 +189,7 @@ struct serializer_is_done
|
||||
class Fields, class Decorator>
|
||||
bool
|
||||
operator()(serializer<isRequest, Body,
|
||||
Fields, Decorator> const& sr) const
|
||||
Fields, Decorator>& sr) const
|
||||
{
|
||||
return sr.is_done();
|
||||
}
|
||||
|
@ -318,7 +318,7 @@ public:
|
||||
|
||||
/// Returns the serialized buffer size limit
|
||||
std::size_t
|
||||
limit() const
|
||||
limit()
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
@ -344,7 +344,7 @@ public:
|
||||
/** Returns `true` if we will pause after writing the complete header.
|
||||
*/
|
||||
bool
|
||||
split() const
|
||||
split()
|
||||
{
|
||||
return split_;
|
||||
}
|
||||
@ -368,7 +368,7 @@ public:
|
||||
serialized header octets have been retrieved.
|
||||
*/
|
||||
bool
|
||||
is_header_done() const
|
||||
is_header_done()
|
||||
{
|
||||
return header_done_;
|
||||
}
|
||||
@ -380,7 +380,7 @@ public:
|
||||
successfully retrieved.
|
||||
*/
|
||||
bool
|
||||
is_done() const
|
||||
is_done()
|
||||
{
|
||||
return s_ == do_complete;
|
||||
}
|
||||
|
Reference in New Issue
Block a user