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

Method extract

plugins/experimental/txn_box/plugin/src/Ex_HTTP.cc:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85};
86
87Feature
88Ex_ua_req_method::extract(Context &ctx, Spec const &)
89{
90 if (auto hdr{ctx.ua_req_hdr()}; hdr.is_valid()) {
91 return FeatureView::Direct(hdr.method());
92 }
93 return NIL_FEATURE;
94}
95
96class Ex_proxy_req_method : public StringExtractor
97{

Callers 1

Ex_HTTP.ccFile · 0.45

Calls 15

DirectClass · 0.85
proxy_req_hdrMethod · 0.80
render_transientMethod · 0.80
pristine_url_getMethod · 0.80
fragmentMethod · 0.80
fieldMethod · 0.80
next_dupMethod · 0.80
dup_countMethod · 0.80
ursp_hdrMethod · 0.80
prsp_hdrMethod · 0.80
outbound_txn_countMethod · 0.80
outbound_remote_addrMethod · 0.80

Tested by

no test coverage detected