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

Function TSHttpTxnServerProtocolStackContains

src/api/InkAPI.cc:8756–8762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8754}
8755
8756const char *
8757TSHttpTxnServerProtocolStackContains(TSHttpTxn txnp, const char *tag)
8758{
8759 sdk_assert(sdk_sanity_check_txn(txnp) == TS_SUCCESS);
8760 HttpSM *sm = reinterpret_cast<HttpSM *>(txnp);
8761 return sm->server_protocol_contains(std::string_view{tag});
8762}
8763
8764const char *
8765TSRegisterProtocolTag(const char * /* tag ATS_UNUSED */)

Callers 1

Calls 2

sdk_sanity_check_txnFunction · 0.85

Tested by

no test coverage detected