def encode
import ezhttp@0.22.0.0/main.bend as Ezhttpimport Base
import ezhttp@0.22.0.0/src/body.bend as Body
133# BYO JSON (or any codec): encode a value with the caller's to_text
134def encode(~A: Data, ~to_text: A -> String, value: A) -> Body.Body: # noqa: L001 re-export of Body.body.encode
135 Body.body.encode(A, to_text, value)
Uses (3)
Used by (0)
No other definition uses this definition.