1
0

Docs(script-shortcuts): add expr engine (#2757)

This commit is contained in:
Birkhoff Lee 2023-05-20 22:52:50 +08:00 committed by GitHub
parent 6b17fd2595
commit 4655bd4da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ This feature enables the use of script in `rules` mode. By default, DNS resoluti
mode: Rule mode: Rule
script: script:
engine: expr # or starlark (10x to 20x slower)
shortcuts: shortcuts:
quic: network == 'udp' and dst_port == 443 quic: network == 'udp' and dst_port == 443
curl: resolve_process_name() == 'curl' curl: resolve_process_name() == 'curl'