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

Method set_hostname

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

Source from the content-addressed store, hash-verified

12793}
12794
12795bool url::set_hostname(const std::string_view input) {
12796 return set_host_or_hostname<true>(input);
12797}
12798
12799bool url::set_username(const std::string_view input) {
12800 if (cannot_have_credentials_or_port()) {

Callers 3

SetHostNameMethod · 0.80
canonicalize_hostnameFunction · 0.80
ada_set_hostnameFunction · 0.80

Calls 1

overlapsFunction · 0.85

Tested by

no test coverage detected