kRetry
fun HttpRequestBuilder.kRetry(disable: Boolean = false, configure: RetryPluginConfigBuilder.() -> Unit = {})(source)
Configures the KresilRetryPlugin on a per-request level. The configuration declared in this block will override the global configuration, or inherit from it if not specified.
Note: This method requires the KresilRetryPlugin to be installed.
Parameters
disable
if set to true
, the request will not be retried
configure
the configuration block to apply to this request