Adding documentation for ngx.decode_args()

This commit is contained in:
Matthieu Tourne 2012-05-22 10:47:04 -07:00 коммит произвёл agentzh (章亦春)
Родитель 6a61f43845
Коммит 77ca488a52
2 изменённых файлов: 20 добавлений и 0 удалений

10
README
Просмотреть файл

@ -2525,6 +2525,16 @@ Nginx API for Lua
This method was first introduced in the "v0.3.1rc27" release.
ngx.decode_args
syntax: *table = ngx.decode_args(str)*
context: *set_by_lua*, rewrite_by_lua*, access_by_lua*, content_by_lua*,
header_filter_by_lua**
Decode a URI encoded string into a Lua table.
This is the inverse function of ngx.encode_args.
ngx.encode_base64
syntax: *newstr = ngx.encode_base64(str)*

Просмотреть файл

@ -2429,6 +2429,16 @@ If the argument value is `false`, then the effect is equivalent to the `nil` val
This method was first introduced in the `v0.3.1rc27` release.
ngx.decode_args
---------------
**syntax:** *table = ngx.decode_args(str)*
**context:** *set_by_lua*, rewrite_by_lua*, access_by_lua*, content_by_lua*, header_filter_by_lua**
Decode a URI encoded string into a Lua table.
This is the inverse function of ngx.encode_args.
ngx.encode_base64
-----------------
**syntax:** *newstr = ngx.encode_base64(str)*