You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for defining routes with HTTP methods (e.g., GET, POST, PUT, DELETE). #53
Currently to support different handlers per verb with the Router you would need to register a handler that split be between different verbs. Something like:
final router =Router<Handler>();
router.add('/foo/bar', onGet(respondWith((_) =>Response.ok())));
Instead, we want something like this:
final router =Router<Handler>();
router.get('/foo/bar', respondWith((_) =>Response.ok()));
Activity