def decoded.cs

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

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

4113def decoded.cs(+status: U32, +headers: Map<&2, List<&2, String>>, body: Bytes.Bytes, cs: List<&2, String>) -> Result<&1, &1, Err, Res>:
4114  match cs:
4115    case Nil{}:
4116      Done{Res{status, headers, body}}
4117    case Con{c, t}:
4118      decoded.both(status, headers, Con{c, t}, Bytes.clone(body))

Uses (10)

Used by (1)