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

Method GetSV

src/cripts/Headers.cc:99–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99cripts::string_view
100Header::Method::GetSV()
101{
102 if (_method.size() == 0) {
103 _ensure_initialized(_owner);
104 int len;
105 const char *value = TSHttpHdrMethodGet(_owner->_bufp, _owner->_hdr_loc, &len);
106
107 _method = cripts::string_view(value, static_cast<cripts::string_view::size_type>(len));
108 }
109
110 return _method;
111}
112
113cripts::string_view
114Header::CacheStatus::GetSV()

Callers

nothing calls this directly

Calls 3

TSHttpHdrMethodGetFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected