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
-**Drop**: Terminates the client connection silently without sending any HTTP headers or response body. This can be used for scenarios where you want to block certain requests without notifying the client, such as mitigating DDoS attacks or protecting sensitive endpoints from unauthorized access.
491
491
-**End**: Similar to Express.js, immediately flushes the current response and closes the underlying connection.
492
492
-**AcceptsLanguagesExtended**: Matches language ranges using RFC 4647 Extended Filtering with wildcard subtags.
493
+
-**Matched**: Detects when the current request path matched a registered route.
494
+
-**IsMiddleware**: Indicates if the current handler was registered as middleware.
495
+
-**HasBody**: Quickly checks whether the request includes a body.
496
+
-**IsWebSocket**: Reports if the request attempts a WebSocket upgrade.
497
+
-**IsPreflight**: Identifies CORS preflight requests before handlers run.
0 commit comments