Skip to content

Commit

Permalink
add content about built in middlewares
Browse files Browse the repository at this point in the history
  • Loading branch information
zamronypj committed Sep 10, 2019
1 parent cef3607 commit 9ec80d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion middlewares/index.md
Expand Up @@ -139,7 +139,8 @@ Fano Framework provides several built-in middleware.
- `TNullMiddleware`, middleware class that does nothing and just pass the request.
- `TCompositeMiddleware`, middleware class which group several middlewares as one.
- `TRequestHandlerAsMiddleware`, adapter middleware which can turn request handler as a middleware.
- `TCorsMiddleware`, middleware class which adds CORS header to response header. Read [Handling CORS](/security/handling-cors) for more information.
- `TCorsMiddleware`, middleware class which adds CORS response header. Read [Handling CORS](/security/handling-cors) for more information.
- `TNullCorsMiddleware`, middleware class which adds response header that always allow CORS.
- `TValidationMiddleware`, middleware class which validate request.

### Group several middlewares as one
Expand Down

0 comments on commit 9ec80d7

Please sign in to comment.