Skip to main content

handle_app_or_runtime_request

Function handle_app_or_runtime_request 

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

Routes one request to a matched app or framework builtin handler.

§Parameters

§Returns

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

§Examples

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