def limits.validate.ok

bend-kit-http@0.38.5.0 · http.bend:5523

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

5523def limits.validate.ok(valid: Bool) -> IO(Unit):
5524  match valid:
5525    case True{}:
5526      IO.pure(Unit, Unit{})
5527    case False{}:
5528      IO.die(Unit, 22, "request cap plus 65536-byte recv overshoot and 3-byte packed rounding must fit U32")

Uses (5)

Used by (1)