asJsoup

fun Response.asJsoup(html: String? = null): Document

Returns a Jsoup document for this response.

Parameters

html

the body of the response. Use only if the body was read before calling this method.