| 131 | } |
| 132 | |
| 133 | std::string_view Uri::getQuery() const { |
| 134 | if (!this->isValid()) { |
| 135 | return {}; |
| 136 | } |
| 137 | |
| 138 | return this->_url->get_search(); |
| 139 | } |
| 140 | |
| 141 | std::string_view Uri::getPath() const { |
| 142 | if (!this->isValid()) { |
no test coverage detected