def body.encode
import ezhttp@0.22.0.0/src/body.bend as Bodyimport Base
61# BYO encode: any value to a text body via the caller's encoder
62def body.encode(~A: Data, ~to_text: A -> String, value: A) -> Body:
63 Plain{to_text(value)}
import ezhttp@0.22.0.0/src/body.bend as Bodyimport Base
61# BYO encode: any value to a text body via the caller's encoder
62def body.encode(~A: Data, ~to_text: A -> String, value: A) -> Body:
63 Plain{to_text(value)}