send_directive(<type>) with options
Send a directive to the endpoint. Action modifiers are used to send directive options:
append("#foo", "<p>This is the text</p>")
The following ruleset shows append() being used
ruleset a1299x164 { meta { name "Append Example" author "nathan cerny" logging off } dispatch { // domain "exampley.com" } rule append_example_rule { select using ".*" append("#append", "<span style=\"color:red;\">| You fired the after rule </span>"); } }
The following demonstrates the preceding rule: