MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / copyResponseEffectiveUrl

Method copyResponseEffectiveUrl

Libraries/HttpClient/HttpClient.cpp:1617–1628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1615 }
1616 return Result(true);
1617}
1618
1619SC::Result SC::HttpClientOperation::poll(uint32_t timeoutMilliseconds)
1620{
1621 if (not initialized)
1622 return Result::Error(HttpClientResultCategory, HttpClientError::OperationNotInitialized);
1623
1624 SC_TRY(processPendingEvents());
1625 if (timeoutMilliseconds == 0 or not requestInFlight)
1626 {
1627 return Result(true);
1628 }
1629
1630 eventMutex.lock();
1631 while (requestInFlight and eventCount == 0)

Callers

nothing calls this directly

Calls 4

StringSpanFunction · 0.85
ResultClass · 0.50
sizeInBytesMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected