getChapterContent

abstract suspend fun getChapterContent(chapterId: String, bookId: String): Result<ChapterContent, WebRequestError>

获取章节内容 此函数无需保证主线程安全性, 为阻塞函数, 获取到数据前应当保持阻塞 此函数应当自行实现断线重连等逻辑

Return

经过格式化后的章节内容的Result封装

Since

Api 4

Parameters

chapterId

章节id

bookId

章节所属书本id