MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getPathAndQuery

Method getPathAndQuery

src/eepp/network/uri.cpp:308–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308std::string URI::getPathAndQuery() const {
309 std::string pathAndQuery;
310 encode( mPath, RESERVED_PATH, pathAndQuery );
311 if ( !mQuery.empty() ) {
312 pathAndQuery += '?';
313 pathAndQuery += mQuery;
314 }
315 return pathAndQuery;
316}
317
318void URI::resolve( const std::string& relativeURI ) {
319 URI ParsedURI( relativeURI );

Callers 3

requestMethod · 0.80
requestAsyncMethod · 0.80
downloadRequestMethod · 0.80

Calls 2

encodeFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected