loadUrl

open fun loadUrl(@NonNull url: String)

Loads the given URL.

Parameters

url

The URL of the resource to load.


open fun loadUrl(@NonNull url: String, @NonNull additionalHttpHeaders: Map<String, String>)

Loads the given URL with the specified additional HTTP headers.

Parameters

url

The URL to load.

additionalHttpHeaders

The additional headers to be used in the HTTP request for this URL.