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