ru.dgis.sdk.HttpOptions | Android SDK | Urbi Documentation
Android SDK

HttpOptions

HTTP client options.

HttpOptions(
	certificates: List?<Certificate> = null,
	timeout: Duration = Duration.ofMilliseconds(15000),
	useCache: Boolean = true,
	cacheStoragePath: String? = null,
	cacheMaxSize: Long? = null,
	proxy: HttpProxyOptions? = null
)

HTTP client options.

Parameters
certificates
timeout
useCache
cacheStoragePath
cacheMaxSize
proxy
Returns
Properties

Certificates in PEM format. If not specified, system certificates + supplied with the SDK are used.

Timeout for HTTP requests.

Use HTTP cache.

Path to the top-level directory for the main HTTP cache file store. The file store will be located in the http_cache subdirectory in this directory. If no path is specified, the directory returned by context.getCacheDir() will be used.

Maximum HTTP cache size in bytes. If not specified, the default maximum HTTP cache size is 300 MB.

Proxy settings.