Skip to main content

reply

Function reply 

Source
pub fn reply(id: Value, r: Result<Value, (i64, String)>) -> Value
Expand description

Wrap a handler’s Result into a JSON-RPC response frame (the *-local/1 dispatch shape).