* Update the search/query of the URL. * * If a URL has `?` as the search value, passing empty string to this function * does not remove the attribute. If you need to remove it, please use * `ada_clear_search` method. */
| 17272 | * `ada_clear_search` method. |
| 17273 | */ |
| 17274 | void ada_set_search(ada_url result, const char* input, size_t length) noexcept { |
| 17275 | ada::result<ada::url_aggregator>& r = get_instance(result); |
| 17276 | if (r) { |
| 17277 | r->set_search(std::string_view(input, length)); |
| 17278 | } |
| 17279 | } |
| 17280 | |
| 17281 | /** |
| 17282 | * Update the hash/fragment of the URL. |
nothing calls this directly
no test coverage detected