Skip to main content

serialize_response

Function serialize_response 

Source
pub fn serialize_response(resp: &HookResponse, caller: &CallerKind) -> Value
Expand description

Serialize a HookResponse into the JSON format expected by the detected caller.