Exec.Exec.headed: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/exec.bend as Exec Lines 358-365 of bend-kube-runtime@0.2.0.0/src/exec.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/exec.bend&start_line=358&end_line=365 import Base import bend-kube-runtime@0.2.0.0/src/utf8.bend as U import bend-kube-runtime@0.2.0.0/src/http.bend as H import bend-kube-runtime@0.2.0.0/src/client.bend as Cl def Exec.headed(p: Socket & Result<&2, &2, Cl.KErr, Scan>, stdin: Maybe<&2, String>, +k: U32, +ms: U32) -> IO(Result<&2, &2, Cl.KErr, Out>): match p: case (s, Done{Scan{head, m, rest, f}}): Exec.answer(s, H.Http.parse_head(U.Utf8.decode_all(List.reverse(&2, U32, head))), rest, stdin, k, ms) case (s, Fail{e}): Exec.close((s, Fail{e})) Uses (16): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.reverse https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Socket https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/client.bend&name=KErr https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/exec.bend&name=Exec.answer https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/exec.bend&name=Exec.close https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/exec.bend&name=Out https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/exec.bend&name=Scan https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/http.bend&name=Http.parse_head https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/utf8.bend&name=Utf8.decode_all