KtSoupParser
The primary entrypoint for KtSoup, use parse to receive a KtSoupDocument to access and manipulate the provided HTML document.
Inheritors
Functions
Link copied to clipboard
Parse the given html document.
Parse an HTML document use the provided inputStream, the stream will be closed when reading is complete.
Link copied to clipboard
expect abstract fun parseChunked(bufferSize: Int = DEFAULT_PARSE_BUFFER_SIZE, getChunk: (buffer: ByteArray) -> Int): KtSoupDocument
actual abstract fun parseChunked(bufferSize: Int, getChunk: (buffer: ByteArray) -> Int): KtSoupDocument
actual abstract fun parseChunked(bufferSize: Int, getChunk: (buffer: ByteArray) -> Int): KtSoupDocument
actual abstract fun parseChunked(bufferSize: Int, getChunk: (buffer: ByteArray) -> Int): KtSoupDocument
Link copied to clipboard
expect abstract suspend fun parseChunkedAsync(bufferSize: Int = DEFAULT_PARSE_BUFFER_SIZE, getChunk: suspend (buffer: ByteArray) -> Int): KtSoupDocument
actual abstract suspend fun parseChunkedAsync(bufferSize: Int, getChunk: suspend (buffer: ByteArray) -> Int): KtSoupDocument
actual abstract suspend fun parseChunkedAsync(bufferSize: Int, getChunk: suspend (buffer: ByteArray) -> Int): KtSoupDocument
actual abstract suspend fun parseChunkedAsync(bufferSize: Int, getChunk: suspend (buffer: ByteArray) -> Int): KtSoupDocument