WebApiClient

open class WebApiClient

Client to do API calls.

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
open class ByteResponse
Link copied to clipboard
open class CacheInterceptor : Interceptor
Link copied to clipboard
open class MediaTypes

Properties

Link copied to clipboard
val MAPSTED_NAV_AUTH_HEADER_KEY: String = "Authorization"
Link copied to clipboard
open val okHttpClient: OkHttpClient

Functions

Link copied to clipboard
open fun buildAuthCertificatePinner(): CertificatePinner
Builds the CertificatePinner scoped to the auth host(s) only.
Link copied to clipboard
open fun closeCache()
Link copied to clipboard
open fun getAuthorizationHeader(licenseKey: String): String
* Returns the authorization HTTP header value
Link copied to clipboard
open fun isAuthHost(@Nullable url: String): Boolean
Link copied to clipboard
Post call sending a byte array and returning a string response.