| 17212 | } |
| 17213 | |
| 17214 | bool ada_set_hostname(ada_url result, const char* input, |
| 17215 | size_t length) noexcept { |
| 17216 | ada::result<ada::url_aggregator>& r = get_instance(result); |
| 17217 | if (!r) { |
| 17218 | return false; |
| 17219 | } |
| 17220 | return r->set_hostname(std::string_view(input, length)); |
| 17221 | } |
| 17222 | |
| 17223 | bool ada_set_protocol(ada_url result, const char* input, |
| 17224 | size_t length) noexcept { |
nothing calls this directly
no test coverage detected