ostium.proto.encode_reply

ostium.proto

encode_reply(kind, a, b) -> line, err

Encode a reply line

Kinds: ("ok", mtype), ("err", mtype, message) with the message escaped, ("qd", fields) where fields is an array of raw strings that must not contain | or control bytes (the producer escapes free-text portions itself), ("qe", count).