def whole.at

emerging-ezhttp@0.21.0.0 · src/http.bend:1370

import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import Base

1370# a response whose head has ended, or not yet
1371def whole.at(asked: Bool, c: Cut, rest: Cut -> Bool) -> Bool:
1372  match c:
1373    case NoCut{}:
1374      False{}
1375    case Cut{before, after}:
1376      +ls = String.lines(before)
1377      whole.step(asked, ls, after, status.interim(status.of(ls)), rest)

Uses (6)

Used by (1)