We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eefc4b commit 4e5a6f8Copy full SHA for 4e5a6f8
baidu-api/src/main/kotlin/xyz/cssxsh/baidu/api/AbstractBaiduApiClient.kt
@@ -12,6 +12,14 @@ import io.ktor.serialization.kotlinx.json.*
12
import io.ktor.utils.io.errors.*
13
import kotlinx.coroutines.*
14
15
+/**
16
+ * 百度 API 客户端 抽象实现
17
+ * @property cookiesStorage 保存 cookies
18
+ * @property timeout 网络超时时间
19
+ * @property userAgent Http User Agent
20
+ * @property apiIgnore api exception ignore
21
+ * @property client Http Client
22
+ */
23
public abstract class AbstractBaiduApiClient<C> : BaiduApiClient<C> {
24
protected open val cookiesStorage: CookiesStorage = AcceptAllCookiesStorage()
25
0 commit comments