Initialize the reader. This is called after construction and before the first call to `put`. The message is valid and complete upon entry. @param ec Set to the error, if any occurred. */
| 138 | @param ec Set to the error, if any occurred. |
| 139 | */ |
| 140 | void |
| 141 | init( |
| 142 | boost::optional<std::uint64_t> const& content_length, |
| 143 | error_code& ec) |
| 144 | { |
| 145 | boost::ignore_unused(content_length); |
| 146 | |
| 147 | // The specification requires this to indicate "no error" |
| 148 | ec = {}; |
| 149 | } |
| 150 | |
| 151 | /** Store buffers. |
| 152 |
nothing calls this directly
no outgoing calls
no test coverage detected