Package com.drake.net

Types

Net
Link copied to clipboard
object Net
NetConfig
Link copied to clipboard
object NetConfig
Net的全局配置

Functions

Delete
Link copied to clipboard
inline fun <M> CoroutineScope.Delete(path: String, tag: Any? = null, noinline block: BodyRequest.() -> Unit? = null): Deferred<M>
异步网络请求
Get
Link copied to clipboard
inline fun <M> CoroutineScope.Get(path: String, tag: Any? = null, noinline block: UrlRequest.() -> Unit? = null): Deferred<M>
异步网络请求
Head
Link copied to clipboard
inline fun <M> CoroutineScope.Head(path: String, tag: Any? = null, noinline block: UrlRequest.() -> Unit? = null): Deferred<M>
异步网络请求
Options
Link copied to clipboard
inline fun <M> CoroutineScope.Options(path: String, tag: Any? = null, noinline block: UrlRequest.() -> Unit? = null): Deferred<M>
异步网络请求
Patch
Link copied to clipboard
inline fun <M> CoroutineScope.Patch(path: String, tag: Any? = null, noinline block: BodyRequest.() -> Unit? = null): Deferred<M>
异步网络请求
Post
Link copied to clipboard
inline fun <M> CoroutineScope.Post(path: String, tag: Any? = null, noinline block: BodyRequest.() -> Unit? = null): Deferred<M>
异步网络请求
Put
Link copied to clipboard
inline fun <M> CoroutineScope.Put(path: String, tag: Any? = null, noinline block: BodyRequest.() -> Unit? = null): Deferred<M>
异步网络请求
Trace
Link copied to clipboard
inline fun <M> CoroutineScope.Trace(path: String, tag: Any? = null, noinline block: UrlRequest.() -> Unit? = null): Deferred<M>
异步网络请求