requestBlocking

fun <R> requestBlocking(bot: Bot, api: QQGuildApi<R>): R(source)

直接通过bot进行阻塞地请求。

Throws

如果返回状态码不在 200..300之间。