def frame.sized

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

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

1265# a Content-Length that reads as a number, or the close when none does
1266def frame.sized(m: Maybe<&2, Nat>) -> Frame:
1267  match m:
1268    case None{}:
1269      Closed{}
1270    case Some{n}:
1271      Sized{n}

Uses (3)

Used by (1)