MCPcopy Create free account
hub / github.com/chen3feng/toft / ParseFromUrl

Method ParseFromUrl

net/uri/query_params.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43bool QueryParams::ParseFromUrl(const std::string& url)
44{
45 URI uri;
46 if (!uri.Parse(url) || !uri.HasQuery())
47 return false;
48 return Parse(uri.Query());
49}
50
51void QueryParams::AppendToString(std::string* target) const
52{

Callers 1

TESTFunction · 0.80

Calls 3

HasQueryMethod · 0.80
QueryMethod · 0.80
ParseMethod · 0.45

Tested by 1

TESTFunction · 0.64