From f6a0cbaf8cbaa2c80116c132f844fb9e44321656 Mon Sep 17 00:00:00 2001 From: Flo-Mueller Date: Fri, 10 Oct 2025 14:40:10 +0200 Subject: [PATCH] Added Patch to route --- pkgs/shelf_router/lib/src/route.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/shelf_router/lib/src/route.dart b/pkgs/shelf_router/lib/src/route.dart index 419a7413..66c92e1b 100644 --- a/pkgs/shelf_router/lib/src/route.dart +++ b/pkgs/shelf_router/lib/src/route.dart @@ -85,6 +85,9 @@ class Route { /// Route `TRACE` requests matching [route] to annotated method. const Route.trace(this.route) : verb = 'TRACE'; + /// Route `PATCH` requests matching [route] to annotated method. + const Route.patch(this.route) : verb = 'PATCH'; + /// Route `MOUNT` requests matching [route] to annotated method. const Route.mount(String prefix) : verb = r'$mount',