Simple Robot 组件 | KOOK
Toggle table of contents
4.1.2-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
Simple Robot 组件 | KOOK
simbot-component-kook-api
/
love.forte.simbot.kook.api
/
requestAsync
request
Async
jvm
@
Api4J
@
JvmOverloads
fun
KookApi
<
*
>
.
requestAsync
(
client
:
HttpClient
,
authorization
:
String
,
scope
:
CoroutineScope
?
=
null
)
:
CompletableFuture
<
HttpResponse
>
(
source
)
通过一个
HttpClient
和校验信息
authorization
对当前API发起请求,并得到一个
ApiResult
。
得到原始的
HttpResponse
而不对结果有任何处理。