summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/resty/limit/req.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/OpenResty/library/resty/limit/req.lua')
-rw-r--r--meta/3rd/OpenResty/library/resty/limit/req.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/3rd/OpenResty/library/resty/limit/req.lua b/meta/3rd/OpenResty/library/resty/limit/req.lua
new file mode 100644
index 00000000..f75269c8
--- /dev/null
+++ b/meta/3rd/OpenResty/library/resty/limit/req.lua
@@ -0,0 +1,9 @@
+---@meta
+resty_limit_req={}
+function resty_limit_req.set_rate(self, rate) end
+function resty_limit_req.uncommit(self, key) end
+function resty_limit_req.set_burst(self, burst) end
+function resty_limit_req.new(dict_name, rate, burst) end
+function resty_limit_req.incoming(self, key, commit) end
+resty_limit_req._VERSION="0.06"
+return resty_limit_req \ No newline at end of file