MCPcopy Create free account
hub / github.com/apache/trafficserver / candidate

Method candidate

src/api/HttpHookState.cc:84–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84APIHook const *
85HttpHookState::Scope::candidate()
86{
87 /// Simply returns _c hook for now. Later will do priority checking here
88
89 // Check to see if a hook has been added since this was initialized empty
90 if (nullptr == _c && nullptr == _p && _hooks != nullptr) {
91 _c = _hooks->head();
92 }
93 return _c;
94}
95
96void
97HttpHookState::Scope::operator++()

Callers 1

getNextMethod · 0.80

Calls 1

headMethod · 0.45

Tested by

no test coverage detected