getLocalServerWebUrl method

String getLocalServerWebUrl(
  1. String oriUrl,
  2. String localServerKey
)

获取对应 oriUrl 的 Local Server url(如http://127.0.0.1:12345) localServerKey 是拼接的path和query,如 test/index.html?v=1 返回的完整url为:http://127.0.0.1:12345/test/index.html?v=1

Implementation

String getLocalServerWebUrl(String oriUrl, String localServerKey) {
  return _getLocalServerWebUrl(oriUrl, localServerKey);
}