Skip to main content

append_webhook_receipt

Function append_webhook_receipt 

Source
pub fn append_webhook_receipt(
    state_path: &Path,
    endpoint_id: &str,
    verification_status: &str,
    payload_json: &str,
) -> i32
Expand description

Records one webhook receipt in the app state document with bounded payload size.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::dynamic::append_webhook_receipt.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::dynamic::append_webhook_receipt.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::append_webhook_receipt(todo!(), "webhook", todo!(), todo!());