Skip to main content

encode_response

Function encode_response 

Source
pub fn encode_response(res: &DataResponse) -> Result<Vec<u8>, Error>
Expand description

Encode a response to wire format: [0x01][msgpack body] Uses named fields for cross-language compatibility with TypeScript