| 8746 | } |
| 8747 | |
| 8748 | const char * |
| 8749 | TSHttpSsnClientProtocolStackContains(TSHttpSsn ssnp, const char *tag) |
| 8750 | { |
| 8751 | sdk_assert(sdk_sanity_check_http_ssn(ssnp) == TS_SUCCESS); |
| 8752 | ProxySession *cs = reinterpret_cast<ProxySession *>(ssnp); |
| 8753 | return cs->protocol_contains(std::string_view{tag}); |
| 8754 | } |
| 8755 | |
| 8756 | const char * |
| 8757 | TSHttpTxnServerProtocolStackContains(TSHttpTxn txnp, const char *tag) |