Function poem::head

source ·
pub fn head<E>(ep: E) -> RouteMethod
where E: IntoEndpoint, E::Endpoint: 'static,
Expand description

A helper function, similar to RouteMethod::new().head(ep).