MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / HasHttpVerb

Method HasHttpVerb

cpp/webdriver-server/uri_info.cc:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91bool UriInfo::HasHttpVerb(const std::string& http_verb,
92 std::string* command_name) {
93 HttpVerbMap::const_iterator verb_iterator = this->verb_map_.find(http_verb);
94 if (verb_iterator != this->verb_map_.end()) {
95 *command_name = verb_iterator->second;
96 return true;
97 }
98 return false;
99}
100
101void UriInfo::AddHttpVerb(const std::string& http_verb,
102 const std::string& command_name) {

Callers 1

LookupCommandMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected