MCPcopy Create free account
hub / github.com/cuberite/cuberite / Send

Method Send

src/HTTPServer/HTTPConnection.cpp:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57
58void cHTTPConnection::Send(const cHTTPResponse & a_Response)
59{
60 ASSERT(m_State == wcsRecvIdle);
61 a_Response.AppendToData(m_OutgoingData);
62 m_State = wcsSendingResp;
63 m_HTTPServer.NotifyConnectionWrite(*this);
64}
65
66
67

Callers 1

OnRequestFinishedMethod · 0.45

Calls 2

AppendToDataMethod · 0.80
NotifyConnectionWriteMethod · 0.80

Tested by

no test coverage detected