1
0

sync-delete.md 958 B

net / com.drake.net / syncDelete

syncDelete

inline fun <reified M> syncDelete(path:String, tag:Any? = null, cache: CacheMode = CacheMode.HTTP, absolutePath:Boolean= false, uid:Any? = null, noinline block: Api.() ->Unit= {}): M

同步网络请求

Parameters

path - String 网络路径, 非绝对路径会加上NetConfig.host为前缀

tag - 可以传递对象给Request请求

absolutePath - Path是否是绝对路径

uid - 表示请求的唯一id

block - 配置参数lambda