| 287 | } |
| 288 | |
| 289 | std::string |
| 290 | SessionData::get_client_protocol_description(TSHttpSsn client_ssnp) |
| 291 | { |
| 292 | return get_protocol_stack_helper( |
| 293 | [&client_ssnp](int n, const char **result, int *actual) { |
| 294 | return TSHttpSsnClientProtocolStackGet(client_ssnp, n, result, actual); |
| 295 | }, |
| 296 | [&client_ssnp]() { return get_client_tls_description(client_ssnp); }, |
| 297 | [this](std::string_view http_version) { this->http_version_in_client_stack = http_version; }); |
| 298 | } |
| 299 | |
| 300 | std::string |
| 301 | SessionData::get_server_protocol_description(TSHttpTxn server_txnp) |
no test coverage detected