getChapterContent

abstract suspend fun getChapterContent(chapterId: String, bookId: String): ChapterContent

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

Return

经过格式化后的章节内容, 如未找到则返回ChapterContent.empty()

Since

Api 2

Parameters

chapterId

章节id

bookId

章节所属书本id