pub fn options<H, T, S>(handler: H) -> MethodRouter<S, Infallible>
Expand description
Route OPTIONS
requests to the given handler.
See get
for an example.
pub fn options<H, T, S>(handler: H) -> MethodRouter<S, Infallible>
Route OPTIONS
requests to the given handler.
See get
for an example.