Skip to main content

framework_webhook_endpoint_id

Function framework_webhook_endpoint_id 

Source
pub fn framework_webhook_endpoint_id(path: &str) -> Option<String>
Expand description

Validates a webhook endpoint identifier against the framework-owned route shape.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::framework_webhook_endpoint_id(std::path::Path::new("fixture.json"));