Skip to main content

envelope

Function envelope 

Source
pub fn envelope(command: &str, data: Value) -> Value
Expand description

Wrap a command payload in the standard ctx JSON envelope.