Macros
ngrok offers a variety of CEL macros that can be used within the Traffic Policy engine to simplify traffic management and dynamic configuration. These macros help you streamline traffic handling by referencing common values and conditions.
Available Macros
- Core Macros: Macros built into CEL.
- Ext Macros: Macros from the cel-go/ext package.
- HTTP Macros: Macros specifically designed for HTTP traffic.
- Utility Macros: Additional macros that provide extra functionality.
You can use these macros in combination with expressions and actions to create dynamic, condition-based traffic flows.