| 97 | } |
| 98 | |
| 99 | cripts::string_view |
| 100 | Header::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 | |
| 113 | cripts::string_view |
| 114 | Header::CacheStatus::GetSV() |
nothing calls this directly
no test coverage detected