toggle menu
MapLibre Native Android
11.6.1
androidJvm
switch theme
search in API
MapLibre Native Android
/
org.maplibre.android.module.http
/
HttpRequestUtil
Http
Request
Util
open
class
HttpRequestUtil
Utility class for setting OkHttpRequest configurations
Members
Constructors
Http
Request
Util
Link copied to clipboard
constructor
(
)
Functions
set
Log
Enabled
Link copied to clipboard
open
fun
setLogEnabled
(
enabled
:
Boolean
)
Set the log state of OkHttpRequest.
set
Ok
Http
Client
Link copied to clipboard
open
fun
setOkHttpClient
(
@
Nullable
client
:
Call.Factory
)
Set the OkHttp Call.Factory used for requesting map resources.
set
Print
Request
Url
On
Failure
Link copied to clipboard
open
fun
setPrintRequestUrlOnFailure
(
enabled
:
Boolean
)
Enable printing of the request url when an error occurred.