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

Method start

Tests/Libraries/Http/HttpAsyncClientTest.cpp:161–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 SC::AsyncLoopTimeout timeout;
160
161 SC::Result start(SC::AsyncEventLoop& loop, SC::TimeMs duration)
162 {
163 timeout.callback = [](SC::AsyncLoopTimeout::Result&)
164 { SC_ASSERT_RELEASE("Test never finished. Event loop timeout expired." && false); };
165 SC_TRY(timeout.start(loop, duration));
166 loop.excludeFromActiveCount(timeout);
167 return SC::Result(true);
168 }
169};
170
171static bool compressionTestsAvailable(SC::TestReport& report)

Callers 15

fixedThreadLocalMethod · 0.45
getMethod · 0.45
headMethod · 0.45
putMethod · 0.45
postMultipartMethod · 0.45
sendRawMethod · 0.45
startSendingHeadersMethod · 0.45
startWaitingMethod · 0.45
startSendingBodyMethod · 0.45
startReceiveResponseMethod · 0.45

Calls 2

ResultClass · 0.50

Tested by

no test coverage detected