| OpenResty documentation | view source | Contained in the OpenResty distribution. |
OpenResty::Handler::Version - The version handler for OpenResty
use OpenResty::Handler::Version;
$data = OpenResty::Handler::Version->GET_version($openresty, \@url_bits);
This OpenResty handler class implements the Version API, i.e., the /=/version interface.
Typically it returns something like this
"0.3.9"
More detailed information can be obtained by GET /=/version/more:
"OpenResty 0.3.9 (revision 1682) with the PgFarm (op901000) backend.\nCopyright (c) 2007-2008 by Yahoo! China EEEE Works, Alibaba Inc.\n"
$data = OpenResty::Handler::Version->GET_version($openresty, \@url_bits)Agent Zhang (agentzh) <agentzh@yahoo.cn>
| OpenResty documentation | view source | Contained in the OpenResty distribution. |