EmergingEzhttp.stream_reply: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/main.bend as EmergingEzhttp Lines 404-409 of emerging-ezhttp@0.21.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/main.bend&start_line=404&end_line=409 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes import emerging-ezhttp@0.21.0.0/src/http.bend as Http import emerging-ezhttp@0.21.0.0/src/server.bend as Server # a reply streamed chunked: each chunk the channel gives is written as it # comes, and the body ends when the channel is closed def stream_reply( # noqa: L001 constructor of Server.Answer, which holds a channel status: U32, headers: List<&2, Http.Header>, chunks: Chan(Bytes.Bytes)) -> Server.Answer: Server.StreamReply{status, headers, chunks} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Chan https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=Header https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/server.bend&name=Answer