Yichun Zhang (章亦春) > OpenResty > OpenResty::Handler::Version

Download:
OpenResty-0.5.12.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

OpenResty::Handler::Version - The version handler for OpenResty

SYNOPSIS ^

    use OpenResty::Handler::Version;

    $data = OpenResty::Handler::Version->GET_version($openresty, \@url_bits);

DESCRIPTION ^

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"

METHODS ^

$data = OpenResty::Handler::Version->GET_version($openresty, \@url_bits)

AUTHOR ^

Agent Zhang (agentzh) <agentzh@yahoo.cn>

SEE ALSO ^

OpenResty::Handler::View, OpenResty::Handler::Role, OpenResty::Handler::Action, OpenResty::Handler::Feed, OpenResty::Handler::Model, OpenResty::Handler::Captcha, OpenResty::Handler::Login, OpenResty.

syntax highlighting: