def hs.final

bend-kit-http@0.38.2.0 · http.bend:1254

import bend-kit-http@0.38.2.0/http.bend as Http
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

1254def hs.final(+status: U32, +h: Map<&2, List<&2, String>>, rest: Bytes.Bytes, m: Maybe<&2, Rb>) -> Hs:
1255  match m:
1256    case None{}:
1257      HsBad{}
1258    case Some{rb}:
1259      HsRes{Res{status, h, Bytes.new(0)}, rb, rest}

Uses (10)

Used by (1)