| 12919 | } |
| 12920 | |
| 12921 | bool url::set_href(const std::string_view input) { |
| 12922 | ada::result<ada::url> out = ada::parse<ada::url>(input); |
| 12923 | |
| 12924 | if (out) { |
| 12925 | *this = *out; |
| 12926 | } |
| 12927 | |
| 12928 | return out.has_value(); |
| 12929 | } |
| 12930 | |
| 12931 | } // namespace ada |
| 12932 | /* end file src/url.cpp */ |