OX::Request - request object for OX
version 0.06
use OX::Request; my $req = OX::Request->new(env => $env);
This class is a simple subclass of Web::Request which adds a couple more features. It adds some methods to access various useful parts of the routing process, and it also sets the default_encoding to UTF-8.
default_encoding
UTF-8
This returns the mapping of the current router match, if you are using Path::Router as the router.
mapping
This calls uri_for on the given route, and returns the absolute URI path that results (including prepending SCRIPT_NAME).
uri_for
SCRIPT_NAME
Stevan Little <stevan.little at iinteractive.com>
Jesse Luehrs <doy at cpan dot org>
This software is copyright (c) 2012 by Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install OX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OX
CPAN shell
perl -MCPAN -e shell install OX
For more information on module installation, please visit the detailed CPAN module installation guide.