index.md 3.5 KB

net / com.drake.net / kotlinx.coroutines.CoroutineScope

Extensions for kotlinx.coroutines.CoroutineScope

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