pub fn options<E>(ep: E) -> RouteMethodwhere
E: IntoEndpoint,
E::Endpoint: 'static,
Expand description
A helper function, similar to RouteMethod::new().options(ep)
.
pub fn options<E>(ep: E) -> RouteMethodwhere
E: IntoEndpoint,
E::Endpoint: 'static,
A helper function, similar to RouteMethod::new().options(ep)
.