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
/
requestTextAsync
request
Text
Async
jvm
@
Api4J
@
JvmOverloads
fun
KookApi
<
*
>
.
requestTextAsync
(
client
:
HttpClient
,
authorization
:
String
,
scope
:
CoroutineScope
?
=
null
)
:
CompletableFuture
<
String
>
(
source
)
通过一个
HttpClient
和校验信息
authorization
对当前API发起请求,并得到一个结果字符串。
Throws
Api
Response
Exception
请求结果的状态码不是 200..300 之间