MCPcopy Create free account
hub / github.com/apache/mesos / get

Function get

3rdparty/libprocess/src/http.cpp:2488–2502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2486
2487
2488Future<Response> get(
2489 const URL& url,
2490 const Option<Headers>& headers)
2491{
2492 Request _request;
2493 _request.method = "GET";
2494 _request.url = url;
2495 _request.keepAlive = false;
2496
2497 if (headers.isSome()) {
2498 _request.headers = headers.get();
2499 }
2500
2501 return request(_request, false);
2502}
2503
2504
2505Future<Response> get(

Callers 15

addressMethod · 0.70
peerMethod · 0.70
bindMethod · 0.70
operator->Method · 0.50
OptionClass · 0.50
containsMethod · 0.50
containsMethod · 0.50
TryClass · 0.50
operator->Method · 0.50
ResultClass · 0.50
operator->Method · 0.50
listenMethod · 0.50

Calls 11

requestFunction · 0.85
FailureClass · 0.85
getOrElseMethod · 0.80
decodeFunction · 0.70
errorMethod · 0.65
IPClass · 0.50
joinFunction · 0.50
removeFunction · 0.50
isSomeMethod · 0.45
getMethod · 0.45
isErrorMethod · 0.45

Tested by 10

TEST_FFunction · 0.40
foreachFunction · 0.40
TEST_PFunction · 0.40
TEST_FFunction · 0.40
TEST_PFunction · 0.40
TESTFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TESTFunction · 0.40