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

Method init

test/doc/exemplars.cpp:76–81  ·  view source on GitHub ↗

Initialize the writer. This is called after construction and before the first call to `get`. 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

74 @param ec Set to the error, if any occurred.
75 */
76 void
77 init(error_code& ec)
78 {
79 // The specification requires this to indicate "no error"
80 ec = {};
81 }
82
83 /** Returns the next buffer in the body.
84

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected