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

Method query_string

plugins/experimental/txn_box/plugin/src/query.cc:239–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239TextView
240Ex_ua_req_query_value::query_string(Context &ctx) const
241{
242 if (auto hdr{ctx.ua_req_hdr()}; hdr.is_valid()) {
243 if (ts::URL url{hdr.url()}; url.is_valid()) {
244 return url.query();
245 }
246 }
247 return {};
248}
249
250// --
251

Callers 1

extractMethod · 0.80

Calls 6

pristine_url_getMethod · 0.80
proxy_req_hdrMethod · 0.80
ua_req_hdrMethod · 0.45
is_validMethod · 0.45
urlMethod · 0.45
queryMethod · 0.45

Tested by

no test coverage detected