MCPcopy Create free account
hub / github.com/Icinga/icinga2 / write_characters

Method write_characters

lib/remote/httpmessage.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 void write_character(char c) override { write_characters(&c, 1); }
51
52 void write_characters(const char* s, std::size_t length) override
53 {
54 auto buf = m_Message.body().Buffer().prepare(length);
55 boost::asio::buffer_copy(buf, boost::asio::const_buffer{s, length});
56 m_Message.body().Buffer().commit(length);
57 }
58
59 void MayFlush(boost::asio::yield_context& yield) override
60 {

Callers 14

WriteMethod · 0.80
EndContainerMethod · 0.80
write_cborMethod · 0.80
write_msgpackMethod · 0.80
write_ubjsonMethod · 0.80
write_bson_stringMethod · 0.80
write_bson_binaryMethod · 0.80
write_numberMethod · 0.80
dumpMethod · 0.80
dump_escapedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected