Lines Matching defs:path
92 const char* MatchPathSegment(const char* path, const char* expected) {
94 if (StringEqualNoCaseN(path, expected, len)) {
95 if (path[len] == '/') return path + len + 1;
96 if (path[len] == '\0') return path + len;
189 void OnHttpGet(const std::string& host, const std::string& path) override;
190 void OnSocketUpgrade(const std::string& host, const std::string& path,
331 const std::string& path) {
338 const char* command = MatchPathSegment(path.c_str(), "/json");
518 const std::string& path) {
519 if (!server_->HandleGetRequest(session_id_, host, path))
524 const std::string& path,
526 std::string id = path.empty() ? path : path.substr(1);