From 687f3778f2fed2fe4aba8027c215ce91c54648ed Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 31 Mar 2023 23:55:20 +0000 Subject: feat(router): expose response to post-route callback --- src/handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/handler.rs') diff --git a/src/handler.rs b/src/handler.rs index bd64f03..3429f3b 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -28,5 +28,5 @@ pub type ErrorResponse = Box) -> Response + Send + Sync>; pub type Callback = Box) + Send + Sync>; pub type CleanupCallback = - Box, &mut String) + Send + Sync>; + Box, &mut Response) + Send + Sync>; pub type Partial = Box) -> String + Send + Sync>; -- cgit v1.2.3