Function poem::head [−][src]
pub fn head<E>(ep: E) -> RouteMethod where
E: IntoEndpoint,
E::Endpoint: 'static,
Expand description
A helper function, similar to RouteMethod::new().head(ep)
.
pub fn head<E>(ep: E) -> RouteMethod where
E: IntoEndpoint,
E::Endpoint: 'static,
A helper function, similar to RouteMethod::new().head(ep)
.