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

Method Parse

engine/dlib/src/test/test_httpclient.cpp:341–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339 }
340
341 dmHttpClient::ParseResult Parse(const char* headers, bool end_of_receive)
342 {
343 char* h = strdup(headers);
344 dmHttpClient::ParseResult r;
345 r = dmHttpClient::ParseHeader(h, this, end_of_receive,
346 &dmHttpClientParserTest::Version,
347 &dmHttpClientParserTest::Header,
348 &dmHttpClientParserTest::Content);
349 free(h);
350 return r;
351 }
352
353 void SetUp() override
354 {

Callers

nothing calls this directly

Calls 2

freeFunction · 0.85
ParseHeaderFunction · 0.50

Tested by

no test coverage detected