MCPcopy Create free account
hub / github.com/NativeScript/android / ada_set_hostname

Function ada_set_hostname

test-app/runtime/src/main/cpp/ada/ada.cpp:17214–17221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17212}
17213
17214bool 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
17223bool ada_set_protocol(ada_url result, const char* input,
17224 size_t length) noexcept {

Callers

nothing calls this directly

Calls 1

set_hostnameMethod · 0.80

Tested by

no test coverage detected