Skip to content

Commit 8d679c4

Browse files
committed
update
1 parent c9a4cc3 commit 8d679c4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

04-api.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ This is a reference of all global variables and functions.
141141
| ------------------------------------------- | ------------- | -------------------- |
142142
| `Firewall::start():void ` | *.php | Start rate limiting |
143143

144+
## Network
145+
146+
| Function | Location | Purpose |
147+
| ------------------------------------------- | ------------- | ---------------------- |
148+
| `Network::isLocalIP($ipAddress):bool ` | *.php | Check local IP |
149+
| `Network::ip4Match($ip4,$range):bool ` | *.php | Match IPv4 CIDR range |
150+
| `Network::ip6Match($ip6,$range):bool ` | *.php | Match IPv6 CIDR range |
151+
144152
## Analyzer
145153

146154
| Function | Location | Purpose |

0 commit comments

Comments
 (0)