Skip to content
simple wrapper for ngx.print, ngx.redirect etc.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resty
LICENSE
README.md
dist.ini

README.md

lua-resty-response

simple wrapper for ngx.print, ngx.redirect etc.

Requirements

Nothing.

Synopsis

local response = require 'resty.response'

local res = response.Json{foo='bar'} -- get a function
res() -- trigger ngx.print
You can’t perform that action at this time.