Skip to content

Commit bead409

Browse files
committed
improve readability of available ICors implementation
1 parent aa7bd2e commit bead409

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

security/handling-cors/index.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ Fano Framework provides built-in middleware class `TCorsMiddleware` which is to
2222

2323
Constructor of `TCorsMiddleware` expects `ICors` interface instance which responsible to handle CORS request.
2424

25-
`TNullCors` is `ICors` implementation which simply allow all CORS request without restriction, while `TCors` class is implementation which can be configured to selectively apply restriction.
25+
## Built-in ICors implementation
26+
27+
Fano Framework provides two built-in `ICors` implementation.
28+
- `TNullCors`, `ICors` implementation which simply allow all CORS request without restriction.
29+
- `TCors` class is implementation which can be configured to selectively apply restriction.
2630

2731
## Register CORS middleware with container
2832

0 commit comments

Comments
 (0)