def rv.go
bend-kit-http@0.38.2.0 · http.bend:1478
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
1478def rv.go(xs: List<&2, String>, closed: Bool, +head: Bool, t: Rt) -> Rt:
1479 match xs:
1480 case Nil{}:
1481 rv.end(closed, head, t)
1482 case Con{+x, rest}:
1483 match t:
1484 case RtMore{rv}:
1485 rv.go(rest, closed, head, rv.step(False{}, head, rv, Bytes.from_string(x)))
1486 case RtBad{}:
1487 RtBad{}
1488 case RtDone{res, r}:
1489 RtDone{res, r}