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