summaryrefslogtreecommitdiff
path: root/doc/lua-api
diff options
context:
space:
mode:
authorWilliam Lallemand <wlallemand@haproxy.org>2022-02-23 14:18:16 +0100
committerWilliam Lallemand <wlallemand@haproxy.org>2022-02-23 15:11:11 +0100
commitb4a4ef6a293e588af5250c124ac3aa5aae24aaff (patch)
treed08a5cf2123932b277d46d3ce35f014bdaf94750 /doc/lua-api
parent686501cb1c4eabd0ab1e91da70adf0bd322d3ccd (diff)
downloadhaproxy-b4a4ef6a293e588af5250c124ac3aa5aae24aaff.tar.gz
MINOR: httpclient/lua: ability to set a server timeout
Add the ability to set a "server timeout" on the httpclient with either the httpclient_set_timeout() API or the timeout argument in a request. Issue #1470.
Diffstat (limited to 'doc/lua-api')
-rw-r--r--doc/lua-api/index.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst
index 9aed82c4a..f22fac3fb 100644
--- a/doc/lua-api/index.rst
+++ b/doc/lua-api/index.rst
@@ -1870,6 +1870,7 @@ HTTPClient class
:param string request.body: Is an optional parameter for the request that contains the body to send.
:param table request.headers: Is an optional parameter for the request that contains the headers to send.
:param table request.dst: Is an optional parameter for the destination in haproxy address format.
+ :param integer request.timeout: Optional timeout parameter, set a "timeout server" on the connections.
:returns: Lua table containing the response