Skip to main content

handle_framework_webhook_request

Function handle_framework_webhook_request 

Source
pub fn handle_framework_webhook_request(
    root: &Value,
    endpoint_id: &str,
) -> Option<String>
Expand description

Handles a framework webhook request using the shared endpoint contract.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::handle_framework_webhook_request can produce a value and None otherwise.

§Performance

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::handle_framework_webhook_request(std::path::Path::new("."), "webhook");