HttpHandler

interface HttpHandler

Handle the HTTP requests.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
abstract fun loadUri(uri: Uri, allowCaching: Boolean = true, headers: Map<String, String>? = null): Either<HttpHandlerFailure, ResponseData>

Returns the response of the HTTP requested by the given Uri.