def text_reply

emerging-ezhttp@0.21.0.0 · main.bend:393

import emerging-ezhttp@0.21.0.0/main.bend as EmergingEzhttp
import Base
import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import emerging-ezhttp@0.21.0.0/src/server.bend as Server

393# a reply with a text body, written as UTF-8
394def text_reply(  # noqa: L001 constructor of Server.Answer, which holds Bytes
395  status: U32, headers: List<&2, Http.Header>, body: String) -> Server.Answer:
396  Server.TextReply{status, headers, body}

Uses (5)

Used by (0)

No other definition uses this definition.