urlRequest

@Nullable
open fun urlRequest(url: URL): @Nullable String

Gets content of a webpage as string. Used for API calls.

Return

reply string

Parameters

url

url to connect to.

Throws

if exception occurred.