def limits.validate.ok

bend-kit-http@0.38.4.0 · http.bend:5531

import bend-kit-http@0.38.4.0/http.bend as Http
import Base

5531def limits.validate.ok(valid: Bool) -> IO(Unit):
5532  match valid:
5533    case True{}:
5534      IO.pure(Unit, Unit{})
5535    case False{}:
5536      IO.die(Unit, 22, "request cap plus 65536-byte recv overshoot and 3-byte packed rounding must fit U32")

Uses (5)

Used by (1)