Lua Features

Detailed descriptions and examples of Lua features offered by ESB3024 Router.
You're viewing documentation for version 1.22.0, the latest released version is 1.22.1
Go to the latest released version

Built-in Lua Functions

All built-in Lua functions available for routing.

Global Lua Tables

Details on all global Lua tables and the data they contain.

Request Translation Function

Instructions for how to write a function to modify incoming requests before routing decisions are being made.

Session Translation Function

Instructions for how to write a function to modify a client session to affect how it is handled by the router.

Host Request Translation Function

Instructions on how to write a function to modify requests that are sent to hosts.

Response Translation Function

Instructions for how to write a function to modify outgoing responses after a routing decision has been made.

Sending HTTP requests from translation functions

How to configure the Director to send HTTP requests from translation functions in Lua.