android-components / mozilla.components.concept.fetch

## Package mozilla.components.concept.fetch

### Types

Client | `abstract class Client` A generic Client for fetching resources via HTTP/s.
Header | `data class Header` Represents a Header containing of a name and value.
Headers | `interface Headers : Iterable<Header>` A collection of HTTP Headers (immutable) of a Request or Response.
MutableHeaders | `class MutableHeaders : Headers, MutableIterable<Header>` A collection of HTTP Headers (mutable) of a Request or Response.
Request | `data class Request` The Request data class represents a resource request to be send by a Client.
Response | `data class Response : Closeable` The Response data class represents a reponse to a Request send by a Client.

### Properties

clientError | `val Response.clientError: Boolean` Returns true if the response was a client error (status in the range 400-499) or false otherwise.
success | `val Response.success: Boolean` Returns true if the response was successful (status in the range 200-299) or false otherwise.