MCPcopy Create free account
hub / github.com/axmolengine/axmol / clearResponseAndRequestQueue

Method clearResponseAndRequestQueue

core/network/HttpClient-wasm.cpp:294–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 }
293
294 void HttpClient::clearResponseAndRequestQueue()
295 {
296 for (auto it = _requestQueue.begin(); it != _requestQueue.end();)
297 {
298 if (!_clearRequestPredicate ||
299 _clearRequestPredicate((*it)))
300 {
301 it = _requestQueue.erase(it);
302 }
303 else
304 {
305 it++;
306 }
307 }
308 }
309
310 void HttpClient::increaseThreadCount()
311 {

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected