options method
Handle OPTIONS
request to route
using handler
.
Can obtain a Middleware via use
for this route.
Implementation
void options(String route, Function handler, {Middleware? use}) =>
add('OPTIONS', route, handler, use);
Handle OPTIONS
request to route
using handler
.
Can obtain a Middleware via use
for this route.
void options(String route, Function handler, {Middleware? use}) =>
add('OPTIONS', route, handler, use);