Skip to main content

Reply

Type Alias Reply 

Source
pub type Reply = Vec<u8>;
Expand description

A wire-level reply: just the encoded RESP bytes.

let reply: kevy_lua::Reply = kevy_lua::Bridge::with_no_dispatch().eval(b"return 'ok'", &[], &[]);
assert_eq!(reply, b"$2\r\nok\r\n");

Aliased Type§

pub struct Reply { /* private fields */ }