Docs(script-shortcuts): add expr engine (#2757)
This commit is contained in:
parent
6b17fd2595
commit
4655bd4da8
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user