Portal Requests
constructor(onUnauthorized: () -> Unit? = null, connectTimeoutMs: Int = DEFAULT_CONNECT_TIMEOUT_MS, readTimeoutMs: Int = DEFAULT_READ_TIMEOUT_MS)
Parameters
on Unauthorized
See the property of the same name.
connect Timeout Ms
Cap on establishing the connection.
read Timeout Ms
Cap on waiting for response data. Matches the 60s iOS URLSessionConfiguration.default request timeout; postEnclaveMPCApi overrides it, see ENCLAVE_READ_TIMEOUT_MS.