syncDelete |
同步网络请求fun <M> syncDelete(path: String , tag: Any ? = null, cache: CacheMode = CacheMode.HTTP, absolutePath: Boolean = false, uid: Any ? = null, block: Api.() -> Unit = {}): M |
syncDownload |
同步文件下载, 默认Get请求fun syncDownload(path: String , dir: String = NetConfig.app.externalCacheDir!!.absolutePath, tag: Any ? = null, absolutePath: Boolean = false, method: RequestMethod = RequestMethod.GET, uid: Any ? = null, block: Api.() -> Unit = {}): String |
syncDownloadBody |
同步文件下载, 允许提交请求体方式, 默认Post请求fun syncDownloadBody(path: String , dir: String = NetConfig.app.externalCacheDir!!.absolutePath, tag: Any ? = null, absolutePath: Boolean = false, method: RequestMethod = RequestMethod.GET, uid: Any ? = null, block: Api.() -> Unit = {}): String |
syncGet |
同步网络请求fun <M> syncGet(path: String , tag: Any ? = null, cache: CacheMode = CacheMode.HTTP, absolutePath: Boolean = false, uid: Any ? = null, block: Api.() -> Unit = {}): M |
syncHead |
同步网络请求fun <M> syncHead(path: String , tag: Any ? = null, cache: CacheMode = CacheMode.HTTP, absolutePath: Boolean = false, uid: Any ? = null, block: Api.() -> Unit = {}): M |
syncOptions |
同步网络请求fun <M> syncOptions(path: String , tag: Any ? = null, cache: CacheMode = CacheMode.HTTP, absolutePath: Boolean = false, uid: Any ? = null, block: Api.() -> Unit = {}): M |
syncPatch |
同步网络请求fun <M> syncPatch(path: String , tag: Any ? = null, cache: CacheMode = CacheMode.HTTP, absolutePath: Boolean = false, uid: Any ? = null, block: Api.() -> Unit = {}): M |
syncPost |
同步网络请求fun <M> syncPost(path: String , tag: Any ? = null, cache: CacheMode = CacheMode.HTTP, absolutePath: Boolean = false, uid: Any ? = null, block: Api.() -> Unit = {}): M |
syncPut |
同步网络请求fun <M> syncPut(path: String , tag: Any ? = null, cache: CacheMode = CacheMode.HTTP, absolutePath: Boolean = false, uid: Any ? = null, block: Api.() -> Unit = {}): M |
syncTrace |
同步网络请求fun <M> syncTrace(path: String , tag: Any ? = null, cache: CacheMode = CacheMode.HTTP, absolutePath: Boolean = false, uid: Any ? = null, block: Api.() -> Unit = {}): M |