simple-robot
3.0.0-RC.2
simbot-util-api-requestor-ktor
/
love.forte.simbot.util.api.requestor.ktor
Package-level
declarations
Types
Functions
Types
Ktor
API
Link copied to clipboard
interface
KtorAPI
<
in
RQ
:
Requestor
,
out
R
>
:
API
<
RQ
,
R
>
基于 ktor 的
API
实现的基础父类型。
Functions
append
If
Notnull
Link copied to clipboard
inline
fun
<
T
>
ParametersBuilder
.
appendIfNotnull
(
name
:
String
,
value
:
T
?
,
toStringBlock
:
(
T
)
->
String
=
{ it.toString() }
)
当目标值
value
不为null时拼接。