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

Function Request

engine/dlib/src/dlib/http_client.cpp:1346–1355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1344 }
1345
1346 Result Request(HClient client, const char* method, const char* path)
1347 {
1348 if (strcmp(method, "GET") == 0) {
1349 return Get(client, path);
1350 } else {
1351 client->m_RequestStart = dmTime::GetMonotonicTime();
1352 Result r = DoRequest(client, path, method);
1353 return r;
1354 }
1355 }
1356
1357 void GetStatistics(HClient client, Statistics* statistics)
1358 {

Callers 1

PostFunction · 0.70

Calls 3

DoRequestFunction · 0.85
GetFunction · 0.70
GetMonotonicTimeFunction · 0.70

Tested by

no test coverage detected