Skip to content

Commit

Permalink
Docs(script-shortcuts): add expr engine (#2757)
Browse files Browse the repository at this point in the history
  • Loading branch information
BirkhoffLee authored May 20, 2023
1 parent 6b17fd2 commit 4655bd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/premium/script-shortcuts.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This feature enables the use of script in `rules` mode. By default, DNS resoluti
mode: Rule

script:
engine: expr # or starlark (10x to 20x slower)
shortcuts:
quic: network == 'udp' and dst_port == 443
curl: resolve_process_name() == 'curl'
Expand Down

0 comments on commit 4655bd4

Please sign in to comment.