MCPcopy Create free account
hub / github.com/boostorg/beast / init

Method init

test/doc/exemplars.cpp:140–149  ·  view source on GitHub ↗

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. */

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected