net / com.drake.net / com.yanzhenjie.kalle.KalleConfig.Builder / cacheEnabled
fun Builder.cacheEnabled(path:String= NetConfig.app.cacheDir.absolutePath, password:String= "cache"):Unit
fun Builder.cacheEnabled(path:
String
= NetConfig.app.cacheDir.absolutePath, password:
= "cache"):
Unit
开启缓存
path - 缓存数据库路径
path
password - 缓存数据库密码
password