Skip to main content

handle_framework_builtin_request

Function handle_framework_builtin_request 

Source
pub fn handle_framework_builtin_request(
    method: &str,
    target: &str,
    app: Option<&AppRuntime>,
    stack: Option<&RuntimeStack>,
) -> Option<FrameworkBuiltinResponse>
Expand description

Handles framework-owned health/version endpoints directly.

§Parameters

§Returns

Returns Some when crate::binaries::handle_framework_builtin_request can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::binaries::handle_framework_builtin_request(todo!(), "/", todo!(), todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.