SyncClientConfig

data class SyncClientConfig(val httpTimeout: <Error class: unknown class> = 10.seconds, val commandTimeout: <Error class: unknown class> = 10.seconds, val pageSize: Int = kDefaultPageSize, val region: String = "us1", val deferCertificateTrustToPlatform: Boolean = true, val useProxy: Boolean = false)

Constructors

Link copied to clipboard
constructor(httpTimeout: <Error class: unknown class> = 10.seconds, commandTimeout: <Error class: unknown class> = 10.seconds, pageSize: Int = kDefaultPageSize, region: String = "us1", deferCertificateTrustToPlatform: Boolean = true, useProxy: Boolean = false)

Properties

Link copied to clipboard
val commandTimeout: <Error class: unknown class>

Timeout for a command (like update document, insert list item etc.). Sync Client retries http requests until this timeout happens or non-retryable error is received from backend.

Link copied to clipboard

Defer certificate trust decisions to OS, overriding the default of certificate pinning for Twilio back-end connections.

Link copied to clipboard
val httpTimeout: <Error class: unknown class>

Timeout for single http request.

Link copied to clipboard

Default page size for querying collection items from backend.

Link copied to clipboard

Twilio server region to connect to, such as us1 or ie1. Instances exist in specific regions, so this should only be changed if needed.

Link copied to clipboard
val useProxy: Boolean = false

If useProxy flag is true a Sync Client will try to read and apply proxy settings in the following order: