all method
Register any method
Implementation
void all(String path, Handler handler) {
for (final method in ['GET', 'POST', 'PUT', 'DELETE', 'PATCH']) {
_routes['$method:$path'] = handler;
}
}
Register any method
void all(String path, Handler handler) {
for (final method in ['GET', 'POST', 'PUT', 'DELETE', 'PATCH']) {
_routes['$method:$path'] = handler;
}
}