| 271 | } |
| 272 | |
| 273 | void Server::AddCommand(const std::string& url, |
| 274 | const std::string& http_verb, |
| 275 | const std::string& command_name) { |
| 276 | if (this->commands_.find(url) == this->commands_.end()) { |
| 277 | this->commands_[url] = std::shared_ptr<UriInfo>( |
| 278 | new UriInfo(url, http_verb, command_name)); |
| 279 | } else { |
| 280 | this->commands_[url]->AddHttpVerb(http_verb, command_name); |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | void Server::ShutDownSession(const std::string& session_id) { |
| 285 | LOG(TRACE) << "Entering Server::ShutDownSession"; |
no test coverage detected