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

Method toString

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

Source from the content-addressed store, hash-verified

84}
85
86String Url::toString() const
87{
88 String result = getScheme();
89 result += _F("://");
90 if(User.length() != 0) {
91 result += User;
92 if(Password.length() != 0) {
93 result += ':';
94 result += Password;
95 }
96
97 result += '@';
98 }
99
100 result += getHostWithPort();
101 result += getPathWithQuery();
102
103 if(Fragment) {
104 result += '#';
105 result += uri_escape(Fragment);
106 }
107
108 return result;
109}
110
111String Url::getPathWithQuery() const
112{

Callers 11

toStringFunction · 0.45
onReceiveMethod · 0.45
internalOnDnsResponseMethod · 0.45
sendMailHeadersMethod · 0.45
onClientMethod · 0.45
onClientCompleteMethod · 0.45
onClientReceiveMethod · 0.45
connectMethod · 0.45
onReceiveMethod · 0.45
getMACMethod · 0.45
getMACMethod · 0.45

Calls 2

uri_escapeFunction · 0.50
lengthMethod · 0.45

Tested by

no test coverage detected