MCPcopy Create free account
hub / github.com/MrKepzie/Natron / write

Method write

libs/qhttpserver/src/qhttpresponse.cpp:159–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void QHttpResponse::write(const QByteArray &data)
160{
161 if (m_finished) {
162#ifdef DEBUG
163 qWarning() << "QHttpResponse::write() Cannot write body after response has finished.";
164#endif
165 return;
166 }
167
168 if (!m_headerWritten) {
169#ifdef DEBUG
170 qWarning() << "QHttpResponse::write() You must call writeHead() before writing body data.";
171#endif
172 return;
173 }
174
175 m_connection->write(data);
176}
177
178void QHttpResponse::flush()
179{

Callers 10

onProcessCanceledMethod · 0.45
writeToOutputChannelMethod · 0.45
runMethod · 0.45
fileCopyFunction · 0.45
saveDescsToBinFileFunction · 0.45
saveFunction · 0.45
writeHeaderMethod · 0.45
writeHeadMethod · 0.45
SpecializeFunction · 0.45
SpecializeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected