Skip to main content

app_route_response

Function app_route_response 

Source
pub(crate) fn app_route_response(
    app: &AppRuntime,
    method: &str,
    target: &str,
) -> Vec<u8> ⓘ
Expand description

Builds the response for an app-owned route request.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::app_route_response.

§Examples

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