Skip to main content

served

Function served 

Source
pub(super) fn served(
    route: &'static Route,
    chosen: &'static Model,
    request: &[u8],
) -> (Vec<u8>, &'static Model)
Expand description

The request with its model made one the route serves, and that model: the one the request names when the route serves it, else the agent’s own. The wire and the price both follow it.