From 6576b1c217a8686a543ac31774718b45c0055d9a Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 16 Nov 2019 00:48:04 +0800 Subject: [PATCH] Mark `val Http` @PublishedApi --- .../src/commonMain/kotlin/net.mamoe.mirai/utils/PlatformUtils.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/PlatformUtils.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/PlatformUtils.kt index ef3591002..affdaee0d 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/PlatformUtils.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/PlatformUtils.kt @@ -43,6 +43,7 @@ expect fun localIpAddress(): String /** * Ktor HttpClient. 不同平台使用不同引擎. */ +@PublishedApi internal expect val Http: HttpClient