Lines Matching refs:path
33 std::string path(len + 1, '\0'); in GetPath() local
34 auto ret = lws_hdr_copy(wsi, path.data(), path.size(), WSI_TOKEN_GET_URI); in GetPath()
37 path.resize(len + 1, '\0'); in GetPath()
39 lws_hdr_copy(wsi, path.data(), path.size(), WSI_TOKEN_HTTP_COLON_PATH); in GetPath()
44 path.resize(len); in GetPath()
45 return path; in GetPath()
147 auto& path = handler_entry.first; in InitializeLwsObjects() local
150 .mountpoint = path.c_str(), in InitializeLwsObjects()
151 .mountpoint_len = static_cast<uint8_t>(path.size()), in InitializeLwsObjects()
226 const std::string& path, in RegisterHandlerFactory() argument
228 handler_factories_[path] = std::move(handler_factory_p); in RegisterHandlerFactory()
232 const std::string& path, in RegisterDynHandlerFactory() argument
234 dyn_handler_factories_[path] = std::move(handler_factory); in RegisterDynHandlerFactory()
282 std::string path(path_raw, path_len); in DynServerCallback() local
283 auto handler = InstantiateDynHandler(path, wsi); in DynServerCallback()
370 auto path = GetPath(wsi); in ServerCallback() local
371 auto handler = InstantiateHandler(path, wsi); in ServerCallback()