Skip to content

Commit 4e5a6f8

Browse files
committed
fix: docs
1 parent 3eefc4b commit 4e5a6f8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

baidu-api/src/main/kotlin/xyz/cssxsh/baidu/api/AbstractBaiduApiClient.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ import io.ktor.serialization.kotlinx.json.*
1212
import io.ktor.utils.io.errors.*
1313
import kotlinx.coroutines.*
1414

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+
*/
1523
public abstract class AbstractBaiduApiClient<C> : BaiduApiClient<C> {
1624
protected open val cookiesStorage: CookiesStorage = AcceptAllCookiesStorage()
1725

0 commit comments

Comments
 (0)