Skip to content

Commit a7e8ce1

Browse files
committed
upd doc
1 parent dbca91d commit a7e8ce1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ Following builtin functions are addionally available within JS scripts:
425425

426426
* `print(val)` - print arbitrary values *val* into dumbproxy log for debugging purposes.
427427
* `readFile(path: string): string` - read file from *path* and return its content as a string.
428+
* `newStopAddressIteration(): Exception` - create an exception which, once `throw`n, halts further invocations of JS function with different resolved addresses for that request. Useful to cut excess JS calls of access filter scripts which can conclude access denial without looking further into remaining resolved addresses.
428429

429430
Following objects are additionally available in global scope of JS scripts:
430431

0 commit comments

Comments
 (0)