JsoupNetworkCall

class JsoupNetworkCall(timeout: Int? = DEFAULT_TIMEOUT, jsoupProxy: JsoupProxy? = null, maxBodySize: Int? = null)

Parameters

timeout
  • Timeout for requests, specified in milliseconds (default - 60000)

jsoupProxy
  • Specify proxy for requests (host, port)

maxBodySize
  • The maximum size to fetch for body

Constructors

Link copied to clipboard
constructor(timeout: Int? = DEFAULT_TIMEOUT, jsoupProxy: JsoupProxy? = null, maxBodySize: Int? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun callUrl(url: String, agent: String): <Error class: unknown class>?