Client.took.ok: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/client.bend as Client Lines 58-63 of ezmcp@0.1.0.0/src/client.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/src/client.bend&start_line=58&end_line=63 import Base import ezmcp@0.1.0.0/src/rpc.bend as Rpc def took.ok(+ctype: String, text: String, ok: Bool, +status: U32) -> Rpc.Reply: match ok: case True{}: Rpc.read(body(is.sse(ctype), text)) case False{}: Rpc.Unread{"HTTP " ++ U32.show(status) ++ ": " ++ text} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.show https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/client.bend&name=body https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/client.bend&name=is.sse https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/rpc.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/rpc.bend&name=read