abstract fun retryTimeout(client: ChatClient, attempt: Int, error: ChatError): Int
In the case that we want to retry a failed request the retryTimeout method is called to determine the timeout
client -
client
attempt -
attempt
errMsg -
errMsg
errCode -
errCode
Return