def wire.text.of

emerging-ezhttp@0.21.0.0 · src/wirespec.bend:143

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

143# the text after an answer's first newline
144def wire.text.of(c: Http.Cut) -> String:
145  match c:
146    case Http.NoCut{}:
147      ""
148    case Http.Cut{before, after}:
149      after

Uses (2)

Used by (1)