Package-level declarations

Types

Link copied to clipboard
open class HttpRequest
Represents an HTTP request.
Link copied to clipboard

Available HTTP request types.

Link copied to clipboard
data class HttpResponse(val httpRequest: HttpRequest, val url: String, val status: Int, val headers: Map<String, String>, var body: ByteArray)
Link copied to clipboard
data class NetworkConfig(    var preprocessHttpRequestCallback: PreprocessHttpRequestCallback? = null,     var preprocessHttpResponseCallback: PreprocessHttpResponseCallback? = null,     val retryHttpRequestConfig: RetryHttpRequestConfig = RetryHttpRequestConfig.LinearIncreasingBackoffRetry) : Parcelable

The network configuration gives the ability to influence network requests. It enables preprocessing requests and processing responses.

Link copied to clipboard

Can be used to change request parameters before a request is made.

Link copied to clipboard

Can be used to the access or change properties of the response before it gets into the player.

Link copied to clipboard
sealed interface RetryHttpRequestConfig