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

Method HttpGet

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

Source from the content-addressed store, hash-verified

144 }
145
146 dmHttpClient::Result HttpGet(const char* url)
147 {
148 m_StatusCode = -1;
149 m_RangeStart = 0xFFFFFFFF;
150 m_RangeEnd = 0xFFFFFFFF;
151 m_DocumentSize = 0xFFFFFFFF;
152 m_Content.clear();
153 m_Headers.clear();
154 dmHttpClient::SetCacheKey(m_Client, url);
155 return dmHttpClient::Get(m_Client, url);
156 }
157
158 dmHttpClient::Result HttpGetPartial(const char* url, int start, int end)
159 {

Callers

nothing calls this directly

Calls 3

SetCacheKeyFunction · 0.85
GetFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected