Function poem::route::get [−][src]
pub fn get(ep: impl Endpoint) -> RouteMethod
Expand description
Set a handler to the GET
and returns endpoint RouteMethod
.
pub fn get(ep: impl Endpoint) -> RouteMethod
Set a handler to the GET
and returns endpoint RouteMethod
.