Client.body: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/client.bend as Client Lines 50-56 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=50&end_line=56 import Base import ezmcp@0.1.0.0/src/sse.bend as Sse # a reply body's JSON text: an event stream's last data, else the body def body(sse: Bool, +text: String) -> String: match sse: case True{}: Sse.last(text) case False{}: text Uses (3): 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=ezmcp@0.1.0.0/src/sse.bend&name=last