RequestTimeout

class RequestTimeout(val connectionTimeoutMillis: Int, val writeTimeoutMillis: Int, val readTimeoutMillis: Int) : Parcelable

Timeouts which are used in network calls for the verification service. Setting any of the properties to 0 will result in no timeout for that property. Value for each property has to be between 1 and the max value of Integer.

Constructors

Link copied to clipboard
constructor(connectionTimeoutMillis: Int, writeTimeoutMillis: Int, readTimeoutMillis: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Timeout for connecting a TCP socket to the host.

Link copied to clipboard

Timeout applied to both TCP socket and read IO operations.

Link copied to clipboard

Timeout for individual write IO operations.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)