summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library
diff options
context:
space:
mode:
authorBrainiac <fangguangyang@live.com>2022-04-26 16:22:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-26 16:50:47 +0800
commit92d2cfe555b7f4b313481b8be9bf2dd63b44ec0a (patch)
tree3212f09a4c02aeeb6e272ead0171db360f2cd90d /meta/3rd/OpenResty/library
parentefbd5902ba2d757e9a74342ae7a3dd290464850c (diff)
downloadlua-language-server-92d2cfe555b7f4b313481b8be9bf2dd63b44ec0a.zip
Update ngx.lua
update ngx.req.set_uri last two params are optional
Diffstat (limited to 'meta/3rd/OpenResty/library')
-rw-r--r--meta/3rd/OpenResty/library/ngx.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/3rd/OpenResty/library/ngx.lua b/meta/3rd/OpenResty/library/ngx.lua
index f8f5eabf..47addc33 100644
--- a/meta/3rd/OpenResty/library/ngx.lua
+++ b/meta/3rd/OpenResty/library/ngx.lua
@@ -2228,8 +2228,8 @@ function ngx.req.get_uri_args(max_args) end
--- in "\x00foo" (maybe you want to set the 'binary' argument?)
---
---@param uri string
----@param jump boolean
----@param binary boolean
+---@param jump? boolean
+---@param binary? boolean
function ngx.req.set_uri(uri, jump, binary) end
--- Append new data chunk specified by the `data_chunk` argument onto the existing request body created by the `ngx.req.init_body` call.