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

Function ada_set_port

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

Source from the content-addressed store, hash-verified

17248}
17249
17250bool ada_set_port(ada_url result, const char* input, size_t length) noexcept {
17251 ada::result<ada::url_aggregator>& r = get_instance(result);
17252 if (!r) {
17253 return false;
17254 }
17255 return r->set_port(std::string_view(input, length));
17256}
17257
17258bool ada_set_pathname(ada_url result, const char* input,
17259 size_t length) noexcept {

Callers

nothing calls this directly

Calls 1

set_portMethod · 0.80

Tested by

no test coverage detected