MCPcopy Create free account
hub / github.com/defold/defold / Parse

Method Parse

engine/dlib/src/test/test_httpserver.cpp:213–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211 }
212
213 dmHttpServerPrivate::ParseResult Parse(const char* headers)
214 {
215 char* h = strdup(headers);
216 dmHttpServerPrivate::ParseResult r;
217 r = dmHttpServerPrivate::ParseHeader(h, this,
218 &dmHttpServerParserTest::Request,
219 &dmHttpServerParserTest::Header,
220 &dmHttpServerParserTest::Content);
221 free(h);
222 return r;
223 }
224
225 void SetUp() override
226 {

Callers

nothing calls this directly

Calls 2

freeFunction · 0.85
ParseHeaderFunction · 0.50

Tested by

no test coverage detected