MCPcopy Create free account
hub / github.com/3rdparty/libprocess / get

Function get

src/http.cpp:2372–2386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2370
2371
2372Future<Response> get(
2373 const URL& url,
2374 const Option<Headers>& headers)
2375{
2376 Request _request;
2377 _request.method = "GET";
2378 _request.url = url;
2379 _request.keepAlive = false;
2380
2381 if (headers.isSome()) {
2382 _request.headers = headers.get();
2383 }
2384
2385 return request(_request, false);
2386}
2387
2388
2389Future<Response> get(

Callers 15

addressMethod · 0.85
peerMethod · 0.85
bindMethod · 0.85
listenMethod · 0.85
acceptMethod · 0.85
recvMethod · 0.85
sendMethod · 0.85
listenMethod · 0.85
acceptMethod · 0.85
connectMethod · 0.85
recvMethod · 0.85
TEST_FFunction · 0.85

Calls 5

requestFunction · 0.85
removeFunction · 0.85
FailureClass · 0.85
decodeFunction · 0.70
getMethod · 0.45

Tested by 10

TEST_FFunction · 0.68
foreachFunction · 0.68
TEST_PFunction · 0.68
TEST_FFunction · 0.68
TEST_PFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68