Client.took: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/client.bend as Client Lines 65-68 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=65&end_line=68 import Base import ezmcp@0.1.0.0/src/rpc.bend as Rpc # what an HTTP reply to a request says: a 200 is read as JSON or as an event # stream by its Content-Type; any other status is unread def took(+status: U32, ctype: String, text: String) -> Rpc.Reply: took.ok(ctype, text, U32.is_eq(status, 200), status) Uses (5): 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=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/client.bend&name=took.ok https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/rpc.bend&name=Reply