MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / parseRequest

Method parseRequest

libs/qhttpserver/src/qhttpconnection.cpp:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void QHttpConnection::parseRequest()
105{
106 Q_ASSERT(m_parser);
107
108 while (m_socket->bytesAvailable()) {
109 QByteArray arr = m_socket->readAll();
110 http_parser_execute(m_parser, m_parserSettings, arr.constData(), arr.size());
111 }
112}
113
114void QHttpConnection::write(const QByteArray &data)
115{

Callers

nothing calls this directly

Calls 2

http_parser_executeFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected