android-components / mozilla.components.service.fretboard.source.kinto / HttpClient

HttpClient

interface HttpClient (source)

Represents an http client, used to make it easy to swap implementations as needed

Functions

get

abstract fun get(url: URL, headers: Map<String, String>? = null): String

Performs a GET request to the specified URL, supplying the provided headers