parse

expect abstract fun parse(html: String): KtSoupDocument

Parse the given html document.

Return

The parsed document as a KtSoupDocument.

Parameters

html

The HTML document as a string.

actual abstract fun parse(html: String): KtSoupDocument
abstract fun parse(inputStream: InputStream): KtSoupDocument

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

Return

The parsed document as a KtSoupDocument.

Parameters

inputStream

The source InputStream to read.


actual abstract fun parse(html: String): KtSoupDocument
actual abstract fun parse(html: String): KtSoupDocument