android-components / mozilla.components.lib.fetch.httpurlconnection / HttpURLConnectionClient

HttpURLConnectionClient

class HttpURLConnectionClient : Client (source)

HttpURLConnection implementation of Client.

Constructors

<init>

HttpURLConnectionClient()

HttpURLConnection implementation of Client.

Inherited Properties

defaultHeaders

val defaultHeaders: Headers

List of default headers that should be added to every request unless overridden by the headers in the request.

Functions

fetch

fun fetch(request: Request): Response

Starts the process of fetching a resource from the network as described by the Request object.