Function get_json_response

Source
pub fn get_json_response(
    storage: MemoryStorage,
    response: Response,
) -> Result<JsValue, JsError>
Expand description

takes a cw MemoryStorage and Response and returns a JsValue response that contains the memory state dump and response result