Companion

expect object Companion : KtSoupParser
actual object Companion : KtSoupParser
actual object Companion : KtSoupParser
actual object Companion : KtSoupParser

Functions

Link copied to clipboard
expect fun create(): KtSoupParser

Create a new KtSoupParser instance.

actual fun create(): KtSoupParser
actual fun create(): KtSoupParser
actual fun create(): KtSoupParser
Link copied to clipboard
expect open override fun parse(html: String): KtSoupDocument

Parse the given html document.

open override fun parse(inputStream: InputStream): KtSoupDocument

Parse an HTML document use the provided inputStream, the stream will be closed when reading is complete.

Link copied to clipboard
expect open override fun parseChunked(bufferSize: Int, getChunk: (buffer: ByteArray) -> Int): KtSoupDocument

Parse an HTML document by calling getChunk to fill the provided ByteArray until no more data is available.

Link copied to clipboard
expect open suspend override fun parseChunkedAsync(bufferSize: Int, getChunk: suspend (buffer: ByteArray) -> Int): KtSoupDocument

Parse an HTML document by calling getChunk to fill the provided ByteArray until no more data is available.