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

Method start

Libraries/Http/HttpAsyncClient.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36Result HttpAsyncClient::start(AsyncEventLoop& loop, HttpParser::Method method, StringSpan url, bool keepAlive)
37{
38 RequestPreset preset;
39 preset.method = method;
40 preset.url = url;
41 preset.keepAlive = keepAlive;
42 preset.autoSend = false;
43 return startRequest(loop, preset);
44}
45
46Result HttpAsyncClient::sendRequest(AsyncEventLoop& loop, const RequestOptions& options)
47{

Callers 3

beginSocketConnectionMethod · 0.45
beginResponseReadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected