Skip to main content

framework_builtin_response

Function framework_builtin_response 

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

Builds the response for a framework-owned route.

§Parameters

§Returns

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

§Examples

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