MCPcopy Create free account
hub / github.com/apache/brpc / SetQuery

Method SetQuery

src/brpc/uri.h:164–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162int ParseURL(const char* url, std::string* scheme, std::string* host, int* port);
163
164inline void URI::SetQuery(const std::string& key, const std::string& value) {
165 get_query_map()[key] = value;
166 _query_was_modified = true;
167}
168
169inline size_t URI::RemoveQuery(const char* key) {
170 if (get_query_map().erase(key)) {

Callers 4

TESTFunction · 0.80
TestFlagsMethod · 0.80
TestRpczMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 4

TESTFunction · 0.64
TestFlagsMethod · 0.64
TestRpczMethod · 0.64
TEST_FFunction · 0.64