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

Function ada_set_protocol

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

Source from the content-addressed store, hash-verified

17221}
17222
17223bool ada_set_protocol(ada_url result, const char* input,
17224 size_t length) noexcept {
17225 ada::result<ada::url_aggregator>& r = get_instance(result);
17226 if (!r) {
17227 return false;
17228 }
17229 return r->set_protocol(std::string_view(input, length));
17230}
17231
17232bool ada_set_username(ada_url result, const char* input,
17233 size_t length) noexcept {

Callers

nothing calls this directly

Calls 1

set_protocolMethod · 0.80

Tested by

no test coverage detected