NetworkConfig

data class NetworkConfig(var preprocessHttpRequestCallback: PreprocessHttpRequestCallback? = null, var preprocessHttpResponseCallback: PreprocessHttpResponseCallback? = null) : Parcelable

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

Constructors

Link copied to clipboard
constructor(preprocessHttpRequestCallback: PreprocessHttpRequestCallback? = null, preprocessHttpResponseCallback: PreprocessHttpResponseCallback? = null)

Properties

Link copied to clipboard

The callback which can be used to change request parameters before a request is made. The default value is null.

Link copied to clipboard

The callback which can be used to the access or change properties of the response before it gets into the player. The default value is null.