enum HttpRetryAfter
source · line 9public
public enum HttpRetryAfter : ToString
- Supertype
ToString
A retry delay expressed as an absolute HTTP date or nonnegative delta seconds.
function toString
source · line 29public
public override fun toString(): String
- Overrides
toString
Formats the structured value as HTTP field text.
function delayFrom
source · line 22public
public fun delayFrom(now: Instant): Duration
Computes the nonnegative wait from the supplied current time.
parameter now
source · line 22public
now: Instant
variant DelaySeconds
source · line 13public
DelaySeconds(Long)
Wait the supplied nonnegative whole seconds.
parameter _
source · line 13public
Long
field _
source · line 13public
Long
variant At
source · line 17public
At(Instant)
Wait until the supplied absolute instant.
parameter _
source · line 17public
Instant
field _
source · line 17public
Instant
function toHttpField
source · line 36public
public fun toHttpField(): HttpField
Builds the corresponding named HTTP field from the structured value.
function equals
source · line 9publiccompiler-derived
operator fun equals(other: HttpRetryAfter): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: Long, Instant.