Searched refs:ParseHostAndPortFromUrl (Results 1 – 2 of 2) sorted by relevance
76 static bool ParseHostAndPortFromUrl(const std::string &url, std::string &host, uint16_t &port);
974 bool HttpExec::ParseHostAndPortFromUrl(const std::string &url, std::string &host, uint16_t &port) in AddCurlHandle() function in OHOS::NetStack::Http::HttpExec1007 if (!ParseHostAndPortFromUrl(context->options.GetUrl(), host, port)) { in AddCurlHandle()