OpenBMC:BmcWeb 处理http请求2 查找路由对象

OpenBMC:BmcWeb 处理http请求1 生成Request和AsyncResp对象_bmc web-CSDN博客

当接收到http请求,并且完成解析后,调用了App::handle处理请求

而App::handle又调用了router.handle(req, asyncResp);来处理请求

 1.Router::handle

void handle(const std::shared_ptr& req,
                const std::shared_ptr& asyncResp)
{
    FindRouteResponse foundRoute = findRoute(*req);
    ...
}

struct FindRout

你可能感兴趣的:(OpenBMC,linux)