type Walk

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

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

1515# where a chunked body's walk stands: ended; waiting at a chunk header (or the
1516# last chunk's trailer) that has not all arrived; inside a chunk's data with
1517# octets still owed; or at the end of a chunk's data, at what should be its
1518# CRLF. `fuel` is what chunks.ended would have left there.
1519type Walk is Data:
1520  Ended{}
1521  Hold{fuel: Nat, rest: String}
1522  Owed{fuel: Nat, owed: Nat}
1523  Tail{fuel: Nat, left: Nat, rest: String}

Uses (2)

Used by (12)