Mapbox Ok Http Service(android Jvm)
Concrete implementation of the common HttpServiceInterface using OkHttp.
Constructors
MapboxOkHttpService
Link copied to clipboard
This constructor is only exposed to allow for the module creation. In most of the cases you want to use getHttpServiceInstance .
open fun MapboxOkHttpService()
Content copied to clipboard
Functions
addDownloadCall
Link copied to clipboard
open fun addDownloadCall(request: Request, callback: CallbackWrapper.RequestCallback, id: Long, timeout: Long, networkRestriction: NetworkRestriction)
Content copied to clipboard
buildRequest
Link copied to clipboard
cancelRequest
Link copied to clipboard
download
Link copied to clipboard
generateOutputHeaders
Link copied to clipboard
@NonNull()
Content copied to clipboard
removeCall
Link copied to clipboard
request
Link copied to clipboard
setInterceptor
Link copied to clipboard
setMaxRequestsPerHost
Link copied to clipboard
supportsKeepCompression
Link copied to clipboard