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

Method StartStreaming

lib/remote/httpmessage.cpp:194–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192
193template<bool isRequest, typename Body, typename StreamVariant>
194void OutgoingHttpMessage<isRequest, Body, StreamVariant>::StartStreaming()
195{
196 ASSERT(Base::body().Size() == 0 && !m_SerializationStarted);
197 Base::body().Start();
198 Base::chunked(true);
199}
200
201HttpApiResponse::HttpApiResponse(Shared<AsioTlsStream>::Ptr stream, HttpServerConnection::Ptr server)
202 : OutgoingHttpMessage(std::move(stream)), m_Server(std::move(server))

Callers 5

HandleRequestMethod · 0.80
SendJsonBodyMethod · 0.80
AsioProtobufOutStreamMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 3

SizeMethod · 0.45
StartMethod · 0.45

Tested by

no test coverage detected