rippled
|
Algorithm for storing buffers when parsing. More...
Public Member Functions | |
template<bool isRequest, class Fields > | |
reader (boost::beast::http::header< isRequest, Fields > &h, value_type &b) | |
void | init (boost::optional< std::uint64_t > const &, boost::system::error_code &ec) |
template<class ConstBufferSequence > | |
std::size_t | put (ConstBufferSequence const &buffers, boost::system::error_code &ec) |
void | do_put (std::string const &data) |
void | finish (boost::system::error_code &ec) |
Private Attributes | |
value_type & | body_ |
Static Private Attributes | |
static constexpr std::uint32_t | FLUSH_SIZE = 50000000 |
static constexpr std::uint8_t | MAX_HANDLERS = 3 |
static constexpr std::uint16_t | MAX_ROW_SIZE_PAD = 500 |
Algorithm for storing buffers when parsing.
Objects of this type are created during parsing to store incoming buffers representing the body.
Definition at line 119 of file DatabaseBody.h.
|
explicit |
void ripple::DatabaseBody::reader::init | ( | boost::optional< std::uint64_t > const & | , |
boost::system::error_code & | ec | ||
) |
std::size_t ripple::DatabaseBody::reader::put | ( | ConstBufferSequence const & | buffers, |
boost::system::error_code & | ec | ||
) |
void ripple::DatabaseBody::reader::do_put | ( | std::string const & | data | ) |
void ripple::DatabaseBody::reader::finish | ( | boost::system::error_code & | ec | ) |
|
private |
Definition at line 121 of file DatabaseBody.h.
|
staticconstexprprivate |
Definition at line 123 of file DatabaseBody.h.
|
staticconstexprprivate |
Definition at line 124 of file DatabaseBody.h.
|
staticconstexprprivate |
Definition at line 125 of file DatabaseBody.h.