setPath

fun setPath(path: String, encoded: Boolean = false)

Parameters

path

如果其不包含http/https则会自动拼接NetConfig.host

encoded

是否已经进行过URLEncoder编码