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

Function ada_set_host

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

Source from the content-addressed store, hash-verified

17204}
17205
17206bool ada_set_host(ada_url result, const char* input, size_t length) noexcept {
17207 ada::result<ada::url_aggregator>& r = get_instance(result);
17208 if (!r) {
17209 return false;
17210 }
17211 return r->set_host(std::string_view(input, length));
17212}
17213
17214bool ada_set_hostname(ada_url result, const char* input,
17215 size_t length) noexcept {

Callers

nothing calls this directly

Calls 1

set_hostMethod · 0.80

Tested by

no test coverage detected