]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: httpclient/lua: fix the type of the dst parameter
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 23 Feb 2022 14:57:45 +0000 (15:57 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 23 Feb 2022 14:57:45 +0000 (15:57 +0100)
"dst" is of string type.

doc/lua-api/index.rst

index f22fac3fba7a3fe0b0c5990671fa4af7a3edc290..e87ca073830230128600829f21c8a654eb08c9d3 100644 (file)
@@ -1869,7 +1869,7 @@ HTTPClient class
   :param string request.url: Is a mandatory parameter for the request that contains the URL.
   :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 string 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