haproxy/doc/lua-api
Sébastien Gross 6a9ba85322 MINOR: hlua: Add support for the "http-after-res" action
This commit introduces support for the "http-after-res" action in
hlua, enabling the invocation of a Lua function in a
"http-after-response" rule. With this enhancement, a Lua action can be
registered using the "http-after-res" action type:

    core.register_action('myaction', {'http-after-res'}, myaction)

A new "lua.myaction" is created and can be invoked in a
"http-after-response" rule:

    http-after-response lua.myaction

This addition provides greater flexibility and extensibility in
handling post-response actions using Lua.

This commit depends on:
 - 4457783 ("MINOR: http_ana: position the FINAL flag for http_after_res execution")

Signed-off-by: Sébastien Gross <sgross@haproxy.com>
2023-09-21 16:31:20 +02:00
..
_static MINOR: lua: add function which return true if the channel is full. 2016-11-12 10:42:25 +01:00
conf.py DOC: lua api 2015-03-11 20:41:33 +01:00
index.rst MINOR: hlua: Add support for the "http-after-res" action 2023-09-21 16:31:20 +02:00
Makefile DOC: lua api 2015-03-11 20:41:33 +01:00