options method
Add Middleware
to OPTIONS HTTP request methods
path
- url path that handling by added Middleware
Implementation
void options(String path, Middleware<T> middleware) {
_routerMiddlewares.add(RouterMiddleware('options', path, middleware));
}