Skip to main content

find_webhook_endpoint

Function find_webhook_endpoint 

Source
pub fn find_webhook_endpoint<'a>(
    integration_root: &'a Value,
    endpoint_id: &str,
) -> Option<&'a Value>
Expand description

Finds one framework webhook endpoint in a declarative integration document.

§Parameters

§Returns

Returns Some when crate::runtime::dynamic::find_webhook_endpoint 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::dynamic::find_webhook_endpoint.

§Examples

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