simple-robot-component-tencent-guild
3.0.0.0-alpha.3
simbot-component-tencent-guild-api
/
love.forte.simbot.tencentguild.api
/
TencentApi
/
doRequest
do
Request
open
suspend
fun
doRequest
(
client
:
HttpClient
,
server
:
Url
,
token
:
String
,
decoder
:
StringFormat
=
Json
)
:
R
使用此api发起一次请求,并得到预期中的结果。如果返回了代表错误的响应值
See also
Err
Info
Throws
Exception
see
HttpClient.request
, 可能会抛出任何ktor请求过程中的异常。
Tencent
Api
Exception
请求过程中出现了错误。