HttpRequestUtil

open class HttpRequestUtil

Utility class for setting OkHttpRequest configurations

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun setLogEnabled(enabled: Boolean)
Set the log state of OkHttpRequest.
Link copied to clipboard
open fun setOkHttpClient(@Nullable client: Call.Factory)
Set the OkHttp Call.Factory used for requesting map resources.
Link copied to clipboard
Enable printing of the request url when an error occurred.