MCPcopy Create free account
hub / github.com/SmingHub/Sming / getScheme

Method getScheme

Sming/Components/Network/src/Network/Url.cpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54String Url::getScheme() const
55{
56 if(Scheme.length() == 0) {
57 return URI_SCHEME_DEFAULT;
58 }
59 String s = Scheme;
60 s.toLowerCase();
61 return s;
62}
63
64int Url::getDefaultPort(const String& scheme)
65{

Callers

nothing calls this directly

Calls 2

toLowerCaseMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected