def retry_after

cswap-bend-cli@0.1.0.0 · usage/req.bend:49

import cswap-bend-cli@0.1.0.0/usage/req.bend as Req
import Base
import cswap-bend-cli@0.1.0.0/http.bend as Http

49# Retry-After in whole seconds (the seconds form only; fractions drop, a
50# negative value is 0, anything else is none).
51def retry_after(+head: String) -> Maybe<&2, U32>:
52  retry.of(Http.header("retry-after:", head))

Uses (5)

Used by (1)