def plan.text

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

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

911# a plan carried out on the text after its head
912def plan.text(p: Plan, +body: String) -> Reply:
913  match p:
914    case Unplanned{why}:
915      Torn{why}
916    case Planned{status, headers, f}:
917      plan.body(status, headers, f, body)

Uses (4)

Used by (1)